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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cis_DjangoSignUp-0.0.4-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page