Skip to content

A7med650/customize-admin-panel-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

customize-admin-panel-django

  1. pip install https://github.com/Barukimang/django-jet/archive/dev.zip
  2. pip install --upgrade google-api-python-client
  3. 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)),
    ...
]
  1. python manage.py migrate jet
  2. python manage.py collectstatic

Dashboard installation

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'
  1. python manage.py migrate dashboard
  2. python manage.py collectstatic

Documentation

https://jet.readthedocs.io/en/latest/

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published