Skip to main content

A Django app to realize login with google on polibras environments.

Project description

===== polibraslogin

polibraslogin is a Django app to conduct Web-based polibraslogin. For each question, visitors can choose between a fixed number of answers.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "polibraslogin" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ 'polibraslogin', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', ... ]

1.1 Add next lines in your settings.py::

ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = 'email'
SOCIALACCOUNT_ADAPTER = 'polibraslogin.social.CustomSocialAccountAdapter'
  1. Include the polibraslogin URLconf in your project urls.py like this::

    path('accounts/', include('allauth.urls')),

  2. Run python manage.py migrate to create the polls models.

  3. Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you'll need the Admin app enabled).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-polibras-login-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_polibras_login-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file django-polibras-login-0.1.0.tar.gz.

File metadata

  • Download URL: django-polibras-login-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for django-polibras-login-0.1.0.tar.gz
Algorithm Hash digest
SHA256 024777c9cca1666943fb4ff0a1ce15b262749dd762d8b067fd8a0ad7a295dc88
MD5 16487bca905d60252f294e989c8d38c0
BLAKE2b-256 97b7b24f6406c828463e10aaf491d1dab9bd6dd1e57443514d35e901fad5873f

See more details on using hashes here.

File details

Details for the file django_polibras_login-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_polibras_login-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for django_polibras_login-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd110fc8d8834d826c9e5649bc3b9ba2eb5db130b9b93a472f61dfe22d0886df
MD5 a4ee0d7ac3ce391dac4cf8f0f5fbaeef
BLAKE2b-256 0aaa77a88c978f1691395032f351349b07a2ea14df87a5194b25f2fef6f058c4

See more details on using hashes here.

Supported by

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