Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Admin customization
Browse files Browse the repository at this point in the history
  • Loading branch information
adilmohak committed Dec 25, 2023
1 parent 70f7987 commit ca47cbf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
2 changes: 2 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
# Application definition

DJANGO_APPS = [
"jet.dashboard",
"jet",
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
Expand Down
26 changes: 14 additions & 12 deletions config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@
from django.conf import settings
from django.conf.urls.static import static

admin.site.site_header = "Django LMS Admin"

urlpatterns = [
path('', include('app.urls')),
path('accounts/', include('accounts.urls')),
path('programs/', include('course.urls')),
path('result/', include('result.urls')),
path('search/', include('search.urls')),
path('quiz/', include('quiz.urls')),

path('payments/', include('payments.urls')),

path('accounts/api/', include('accounts.api.urls', namespace='accounts-api')),

path('admin/', admin.site.urls),
path("jet/", include("jet.urls", "jet")), # Django JET URLS
path(
"jet/dashboard/", include("jet.dashboard.urls", "jet-dashboard")
), # Django JET dashboard URLS
path("", include("app.urls")),
path("accounts/", include("accounts.urls")),
path("programs/", include("course.urls")),
path("result/", include("result.urls")),
path("search/", include("search.urls")),
path("quiz/", include("quiz.urls")),
path("payments/", include("payments.urls")),
path("accounts/api/", include("accounts.api.urls", namespace="accounts-api")),
path("admin/", admin.site.urls),
]

if settings.DEBUG:
Expand Down
3 changes: 3 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ drf-spectacular==0.25.1 # https://github.com/tfranzel/drf-spectacular
reportlab==4.0.4
stripe==5.5.0
gopay==2.0.1

# Customize django admin
django-jet-reboot==1.3.5

0 comments on commit ca47cbf

Please sign in to comment.