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
-
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'
-
Include the polibraslogin URLconf in your project urls.py like this::
path('accounts/', include('allauth.urls')),
-
Run
python manage.py migrate
to create the polls models. -
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-polibras-login-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024777c9cca1666943fb4ff0a1ce15b262749dd762d8b067fd8a0ad7a295dc88 |
|
MD5 | 16487bca905d60252f294e989c8d38c0 |
|
BLAKE2b-256 | 97b7b24f6406c828463e10aaf491d1dab9bd6dd1e57443514d35e901fad5873f |
Hashes for django_polibras_login-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd110fc8d8834d826c9e5649bc3b9ba2eb5db130b9b93a472f61dfe22d0886df |
|
MD5 | a4ee0d7ac3ce391dac4cf8f0f5fbaeef |
|
BLAKE2b-256 | 0aaa77a88c978f1691395032f351349b07a2ea14df87a5194b25f2fef6f058c4 |