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’ %}
Release files for cis-DjangoSignUp 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cis_DjangoSignUp-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cis_DjangoSignUp-0.0.4-py3-none-any.whl
| Download URL | cis_DjangoSignUp-0.0.4-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d9da6f89a0550955b595535c641b73c184188ba4444b39e4969fdd1bce458c5
|
|
BLAKE2b-256 checksum How to use checksums |
4913e8e246a3c3fd988cb7d7e9056b74266d57d961d39004d81df52795c6a22b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|