Skip to main content

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


Download files

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

Source Distribution

django_tgb_basics-0.2.14.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file django_tgb_basics-0.2.14.tar.gz.

File metadata

  • Download URL: django_tgb_basics-0.2.14.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.4

File hashes

Hashes for django_tgb_basics-0.2.14.tar.gz
Algorithm Hash digest
SHA256 0fe4f21ea072cc828b12bee0115967c5036a6bdec4b36ec051d43b19302dfcd7
MD5 8c297238ca6789fb64b7a0b4e92a5236
BLAKE2b-256 f7dd8e1d6128b78e39eac8cde30c382676ee11438b06edc03b8a41b8e2f23b7a

See more details on using hashes here.

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