Django-jet fork with Django@3.0+ support
Project description
Django JET (Django-3 compatible)
Installation
- Download and install the Django3 compatible version of Django JET:
poetry add cifrazia-django-jet
pip install cifrazia-django-jet
easy_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.request
context 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 jet
python manage.py syncdb
-
Collect static if you are in production environment:
python manage.py collectstatic
-
Clear your browser cache
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
Built Distribution
Close
Hashes for cifrazia-django-jet-1.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a27905140b55efe0c7e79fd73252f8cafe71be81ad6a6cfa92f5265e8789cb |
|
MD5 | f409b86b996af6ba58b33d9f8cf73731 |
|
BLAKE2-256 | f4c6da76e6c70b1e411e6bec50b3af0a8be089b7b436a19087b7bb6ba5c1c253 |
Close
Hashes for cifrazia_django_jet-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ebf3d8dc96d4cbb1ccad44a419f1d5a2317b4a0218cc48e405921081ba3515 |
|
MD5 | 8beb1b610623a05a7d37dce98b91481a |
|
BLAKE2-256 | c942b4da656578ff9073100ab29a7b06372c6c68bd8c464f1b2d649bc4a3cace |