Aplicativos base para seu projeto django!
Project description
Django Inteliger e um pacote da Inteliger para todo mundo aprender como fazer uma boa estruturacao de codigo.
Como usar
Adicione os aplicativos do pacote no seu INSTALED_APPS.
- INSTALLED_APPS = [
… ‘core’, ‘log’, ‘usr’
]
Adicione o middleware de log no MIDDLEWARE, antes de todos os outros.
- MIDDLEWARE = [
‘log.middleware.LogMiddleware’, …
]
Adicione as urls no urlpatterns.
- urlpatterns = [
… re_path(r’^usr/’, include(‘usr.urls’)), re_path(r’^core/’, include(‘core.urls’)), re_path(r’^log/’, include(‘log.urls’))
]
Rode python manage.py migrate para criar as tabelas
Aproveite
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
django-inteliger-0.0.1.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for django_inteliger-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287fbc4e02bc73d29b2075c713d735b9359c42db5c6083951429662777976873 |
|
MD5 | 8d4329295c1159cc485e7a12063e53d8 |
|
BLAKE2b-256 | c05722c560d8ec3a409a75a2645654617fdffd141ea1e996a6fbcf81a79ceb58 |