Metadata-Version: 1.1
Name: django-wechat-web
Version: 0.0.1
Summary: A simple Django app to conduct Web-based.
Home-page: UNKNOWN
Author: Eason Smith
Author-email: uniquecolesmith@gmail.com
License: BSD License
Description: ===
        django-wechat-web
        ===
        
        django-wechat-web is a simple Django app to conduct Wechat-web-based helper. For each
        question, visitors can choose between a fixed number of answers.
        
        Detailed documentation is in the 'docs' directory.
        
        Quick start
        -----------
        
        1. Add 'django_wechat_web' to to your INSTALLED_APPS setting like this::
           
           INSTALLED_APPS = [
                ...
                'django_wechat_web',
           ]
        
        2. Add WECHAT to your settings file::
        
           WECHAT = {
                'appid': 'YOUR APPID',
                'appsecret': 'YOUR APP Secret',
                'scope': 'snsapi_base',
           }
        
        3. Run `python manage.py makemigrations django_wechat_web; python manage.py migrate` to create the django_wechat_web models.
        
        4. In your app view where your need get wechat user openid, do like this::
        
           from django_wechat_web import WechatView
        
           class YourViewName(WechatView):
                '''
                    Extends WechatView and over get method
                    Here WechatView extends django.views.generic.View
                '''
                ...
        
                def get(self, request, *args, **kwargs):
                    # your code ....
        
                ....
        
        5. Now you can do anything the same as `django.views.generic.View`.
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.9
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
