- pip install https://github.com/Barukimang/django-jet/archive/dev.zip
- pip install --upgrade google-api-python-client
- pip install oauth2client
insert the code in settings.py:
INSTALLED_APPS = (
...
'jet',
'django.contrib.admin',
)
insert the code in urls.py:
urlpatterns [
'',
path('jet/', include('jet.urls', 'jet')), # Django JET URLS
path('admin/', include(admin.site.urls)),
...
]
- python manage.py migrate jet
- python manage.py collectstatic
insert the code in settings.py:
INSTALLED_APPS = (
...
'jet.dashboard',
'jet',
'django.contrib.admin',
...
)
insert the code in urls.py:
urlpatterns [
'',
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)),
...
]
insert the code in settings.py:
X_FRAME_OPTIONS = 'SAMEORIGIN'
- python manage.py migrate dashboard
- python manage.py collectstatic