A library with many features for interacting with Django
Project description
ADjango
ADjango
Sometimes I use this in different projects, so I decided to put it on pypi
Installation
pip install adjango
Settings
-
Add the application to the project.
INSTALLED_APPS = [ #... 'adjango', ]
-
In
settings.py
set the paramsADJANGO_BACKENDS_APPS = BASE_DIR / 'apps' ADJANGO_FRONTEND_APPS = BASE_DIR.parent / 'frontend' / 'src' / 'apps' ADJANGO_APPS_PREPATH = 'apps.' ADJANGO_EXCEPTION_REPORT_EMAIL = ('ivanhvalevskey@gmail.com',) ADJANGO_EXCEPTION_REPORT_TEMPLATE = 'core/error_report.html' ADJANGO_LOGGER_NAME = 'global' ADJANGO_EMAIL_LOGGER_NAME = 'email'
MIDDLEWARE = [ ... # add request.ip in views 'adjango.middleware.IPAddressMiddleware', ... ]
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
adjango-0.0.2.tar.gz
(13.5 kB
view hashes)
Built Distribution
adjango-0.0.2-py3-none-any.whl
(16.7 kB
view hashes)