{ "info": { "author": "Junyi Jiao", "author_email": "jiaojunyi90@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nRegister-Activate\n=====\n\nRegister-activate is a simple Django app to conduct sign up, custom user email\naccount verification and activation, login and logout functions. This app modifies django'\nUser model to realize the registering and activation process together with database.\n\nDetailed documentation is in the \"docs\" directory.\n\nQuick start\n-----------\n1. In your setting.py, import the module register_activate like this::\n import register_activate\n2. In your setting.py, get the absolut path the register_activate_dir (following BASE_DIR) like this::\n register_activate_dir=os.path.dirname(os.path.dirname(os.path.abspath(register_activate.__file__)))\n3. In your setting.py, add \"register_activate\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'register_activate',\n ]\n4. In your setting.py, add the template path of register_activate to TEMPLATES by updating 'DIRS' like this:\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [os.path.join(register_activate_dir,'register_activate/templates/register_activate')],\n 'APP_DIRS': True,\n 'OPTIONS': {\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages',\n ],\n },\n },\n ]\n\n5. In your setting.py, add the AUTHENTICATION_BACKENDS setting like this::\n AUTHENTICATION_BACKENDS=[\n 'django.contrib.auth.backends.ModelBackend',\n 'register_activate.email_auth.EmailBackend',\n ]\n\n\n6. In your project urls.py, include the polls URLconf like this::\n from django.conf.urls import url, include\n from django.contrib import admin\n urlpatterns = [\n ...\n url(r'^register_activate/',include('register_activate.urls')),\n url(r'^admin/', admin.site.urls),\n]\n\n7. Run `python manage.py migrate` to create the models.\n\n8. Run `python manage.py runserver` to start the server.\n\n9. Visit http://127.0.0.1:8000/register_activate/signup to create an account.\n\n10. After creating your account, your account is not activated yet.\n You will receive an email from a google account django.registeractivate@gmail.com\n with an activation link. By clicking that link your account will be activated.\n You can change the from email to your own email address by go to\n register_activate/views to your own account and password::\n fromaddr='django.registeractivate@gmail.com'\n username='django.registeractivate'\n password='django_register_activate'\n (You can use register_activate_dir=os.path.dirname(os.path.dirname(os.path.abspath(register_activate.__file__))) to find where this package is)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JunyiJ/django-register-activate", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-register-activate", "package_url": "https://pypi.org/project/django-register-activate/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-register-activate/", "project_urls": { "Homepage": "https://github.com/JunyiJ/django-register-activate" }, "release_url": "https://pypi.org/project/django-register-activate/1.1/", "requires_dist": null, "requires_python": "", "summary": "A Django app to conduct signup, custom user email account verification and activation, login and logout.", "version": "1.1" }, "last_serial": 2118708, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "6f082dceea615e81acfbd4823f36fa18", "sha256": "c92bf62dd4f4cecad5d6db015d4e15df573c6b32f6732e50e548425e15b9ef50" }, "downloads": -1, "filename": "django-register_activate-1.1.zip", "has_sig": false, "md5_digest": "6f082dceea615e81acfbd4823f36fa18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18958, "upload_time": "2016-05-16T19:36:44", "url": "https://files.pythonhosted.org/packages/98/70/b54cfb4272281a01d283df8f2d32f2e037796dac2c9d60b346d0ca5643f8/django-register_activate-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f082dceea615e81acfbd4823f36fa18", "sha256": "c92bf62dd4f4cecad5d6db015d4e15df573c6b32f6732e50e548425e15b9ef50" }, "downloads": -1, "filename": "django-register_activate-1.1.zip", "has_sig": false, "md5_digest": "6f082dceea615e81acfbd4823f36fa18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18958, "upload_time": "2016-05-16T19:36:44", "url": "https://files.pythonhosted.org/packages/98/70/b54cfb4272281a01d283df8f2d32f2e037796dac2c9d60b346d0ca5643f8/django-register_activate-1.1.zip" } ] }