Note: More collaborators are needed to maintain the project, feel free to contact @assem-ch.
Django Jet Reboot is modern template for Django admin interface with improved functionality. Rebooting the original project : django-jet.
We focus only on django >= 3.0 & Python >= 3.7. We can't support old versions.
pip install django-jet-reboot
INSTALLED_APPS = (
...
'jet',
'django.contrib.admin',
)
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',
...
],
},
},
]
urlpatterns = patterns(
'',
path('jet/', include('jet.urls', 'jet')), # Django JET URLS
path('admin/', include(admin.site.urls)),
...
)
python manage.py migrate jet
python manage.py collectstatic
Note
Dashboard is located into a separate application. So after a typical JET installation it won't be active. To enable dashboard application follow these steps:
INSTALLED_APPS = (
...
'jet.dashboard',
'jet',
'django.contrib.admin',
...
)
urlpatterns = patterns(
'',
path('jet/', include('jet.urls', 'jet')), # Django JET URLS
path('jet/dashboard/', include('jet.dashboard.urls', 'jet-dashboard')), # Django JET dashboard URLS
path('admin/', include(admin.site.urls)),
...
)
pip install google-api-python-client==1.4.1
python manage.py migrate dashboard
python manage.py collectstatic
Author: assem-ch
Source: https://github.com/assem-ch/django-jet-reboot
License: AGPL-3.0 license
#django