Django JET (Django-3 compatible)
Installation
- Download and install the Django3 compatible version of Django JET:
poetry add cifrazia-django-jetpip install cifrazia-django-jeteasy_install cifrazia-django-jet
- Add 'jet' application to the INSTALLED_APPS setting of your Django project settings.py file (note it should be before 'django.contrib.admin'):
INSTALLED_APPS = [
...,
'jet',
'django.contrib.admin',
]
- Make sure
django.template.context_processors.requestcontext processor is enabled in settings.py (Django 1.8+ way):
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
...,
'django.template.context_processors.request',
...
],
},
},
]
- Add URL-pattern to the urlpatterns of your Django project urls.py file (they are needed for related–lookups and autocompletes):
urlpatterns = [
'',
path('jet/', include('jet.urls', 'jet')), # Django JET URLS
path('admin/', include(admin.site.urls)),
...
]
-
Create database tables (chose):
python manage.py migrate jetpython manage.py syncdb
-
Collect static if you are in production environment:
python manage.py collectstatic
-
Clear your browser cache
Metadata
Release files for cifrazia-django-jet 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cifrazia-django-jet-1.1.4.tar.gz | 1.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cifrazia_django_jet-1.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / cifrazia-django-jet-1.1.4.tar.gz
| Download URL | cifrazia-django-jet-1.1.4.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26a27905140b55efe0c7e79fd73252f8cafe71be81ad6a6cfa92f5265e8789cb
|
|
BLAKE2b-256 checksum How to use checksums |
f4c6da76e6c70b1e411e6bec50b3af0a8be089b7b436a19087b7bb6ba5c1c253
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8
|
Release files / cifrazia_django_jet-1.1.4-py3-none-any.whl
| Download URL | cifrazia_django_jet-1.1.4-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5ebf3d8dc96d4cbb1ccad44a419f1d5a2317b4a0218cc48e405921081ba3515
|
|
BLAKE2b-256 checksum How to use checksums |
c942b4da656578ff9073100ab29a7b06372c6c68bd8c464f1b2d649bc4a3cace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8
|