A simple Django app to conduct Web-based polls.
Project description
Description:
The main motive is to upload our own package on PyPI. so for doing testing, I have uploaded it on this platform.
installation:
Just run a command on the terminal
pip install cis_DjangoSignUp.
In settings.py,
Add in the installed app
‘cis_DjangoSignUp’,
Add in context processor
‘cis_DjangoSignUp.context_processors.AJAX_POST’, ‘cis_DjangoSignUp.context_processors.reg_form’
Also, set email backend to activate account
EMAIL_BACKEND = ‘django.core.mail.backends.smtp.EmailBackend’ EMAIL_HOST = ‘smtp.gmail.com’ EMAIL_USE_TLS = True EMAIL_PORT = EMAIL_HOST_USER = ‘’ EMAIL_HOST_PASSWORD = ‘’ SUCCESS_SIGNUP_URL = ‘’ AJAX_POST = True
In main urls.py :
path(‘’, include(‘cis_DjangoSignUp.url’)),
After then add it in the template where you want :
{% include ‘cis_DjangoSignUp/register.html’ %}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file cis_DjangoSignUp-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: cis_DjangoSignUp-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7d9da6f89a0550955b595535c641b73c184188ba4444b39e4969fdd1bce458c5
|
|
MD5 |
9587f16da857ef6598c02309f1eaeb3f
|
|
BLAKE2b-256 |
4913e8e246a3c3fd988cb7d7e9056b74266d57d961d39004d81df52795c6a22b
|