Skip to main content

This “Account” app is an authentication app based on Django’s built in Authentication module and is an email authentication system.

Quick start

  1. Install dependencies:

    pip install -r requirements.txt
  2. Add “account” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'account',
    ]
  3. Include the polls URLconf in your project urls.py like this:

        path('', include('account.urls')),
    ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
    
    if settings.DEBUG:
        urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  4. Add to end of settings.py for static media:

    #ADD TO BOTTOM OF SETTINGS FILE
    
    # Static File Handling Settings
    STATIC_URL = '/static/'
    STATICFILES_DIRS = [
        os.path.join(BASE_DIR, "static")
    ]
    STATIC_ROOT = os.path.join(BASE_DIR, "static_cdn")
    
    # Media file handling Settings
    MEDIA_URL = '/media/'
    MEDIA_ROOT = os.path.join(BASE_DIR, 'media_cdn')
    
    
    # Auth Redirects
    LOGIN_REDIRECT_URL = '/YOUR-URL'
    LOGOUT_REDIRECT_URL = '/YOUR-URL'
  5. Migrate to create the account models.:

    python manage.py migrate
  1. Start the development server and visit http://127.0.0.1:8000/admin/ to create a new user (you’ll need the Admin app enabled).

  2. Visit http://127.0.0.1:8000/ to begin using the authentication app.

Metadata

Release files for django-b2t-accounts 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-b2t-accounts 0.0.1
File Size Uploaded Provenance Actions
django-b2t-accounts-0.0.1.tar.gz 5.5 kB Without provenance Details for django-b2t-accounts-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-b2t-accounts 0.0.1
File Interpreter ABI Platform Actions
django_b2t_accounts-0.0.1-py3-none-any.whl Python 3 none any Details for django_b2t_accounts-0.0.1-py3-none-any.whl

Total release size: 11.4 kB

Release files / django-b2t-accounts-0.0.1.tar.gz

Download URL django-b2t-accounts-0.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3f02a5af10774f1308fde24b4c94740f64beda08454497aafbafee8a0ed331a2
BLAKE2b-256 checksum
How to use checksums
f3759b4d4bf86ee7e360f1130e7cf69b7028d5a1313b24c57aef80ddbabb11b0
Upload date
Uploaded using Trusted Publishing?
What is 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.2 CPython/3.9.6

Release files / django_b2t_accounts-0.0.1-py3-none-any.whl

Download URL django_b2t_accounts-0.0.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50ecc8080e88803623ad95d4c9ebef4474d154cfee3cdccd751443251dc99746
BLAKE2b-256 checksum
How to use checksums
5e7964fc2108bc9f52136c1c701d0a3f128aea9934dc6e5dae224d4bcf569e20
Upload date
Uploaded using Trusted Publishing?
What is 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.2 CPython/3.9.6

Security for django-b2t-accounts 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page