Skip to content

zerobit-tech/the_system

Repository files navigation

the_system

This app can be installed and used in your django project by:

$ pipenv install git+https://github.com/zerobit-tech/the_system@main#egg=the_system

Edit your settings.py file to include 'the_system' in the INSTALLED_APPS listing.

INSTALLED_APPS = [
    ...

    'the_system',
]

# ------------------------------------------------------
# django-otp
# ------------------------------------------------------
OTP_TOTP_ISSUER = 'SampleApp'
OTP_ENTRY_URL = '/twofactor/'



MIDDLEWARE = [
    ...

]

Edit your project urls.py file to import the URLs:

url_patterns = [
    ...

    path('', include('the_system.urls')),
]

Finally, add the models to your database:

$ ./manage.py makemigrations the_system

The "project" Branch

The master branch contains the final code for the PyPI package. There is also a project branch which shows the "before" case -- the Django project before the app has been removed.

About

Dajngo base app the_system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published