Basic fundamentals features for Django projects.
Project description
django-tgb-basics
This is a collection of useful (basic) features that I usually use in my Django Projects. I realize that I never use every feature in other libraries, so I decide to put together the most important ones to easilly reuse.
Installation and setup
Install with your python package manager as usually you do. To install with pip:
pip install django-tgb-basics
Once the package is installed you should edit your settings.py
file
and add (or modify) the AUTHENTICATION_BACKENDS
to use the EmailAuthBackend
.
It's not necessary add to installed apps if you only need the auth backend.
AUTHENTICATION_BACKENDS = [
'django-tgb-basics.backends.EmailAuthBackend',
# Other authentications backends
]
But if you need another features like MultiSerializerViewSet
, you need to
add django-tgb-basics
to INSTALLED_APPS
in the settings.py
file of your
project.
INSTALLED_APPS = [
...
'django-tgb-basics',
...
]
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_tgb_basics-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713c70a494b2fecc36fdaa0fc25497b041b542170a374914cc365bfc8f5f26b4 |
|
MD5 | cf3f49efd68864cef17f9261164b20cf |
|
BLAKE2b-256 | c899d36a1fba2cbd43e83e91da5b0f0777008e93c490b6690d1408644d7e364b |