Skip to main content

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,

  1. Add in the installed app

    ‘cis_DjangoSignUp’,

  1. Add in context processor

    ‘cis_DjangoSignUp.context_processors.AJAX_POST’, ‘cis_DjangoSignUp.context_processors.reg_form’

  1. 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.

Files for cis-DjangoSignUp, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cis_DjangoSignUp-0.0.4-py3-none-any.whl (12.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page