Admin customization
This commit is contained in:
parent
70f7987706
commit
ca47cbf8c7
@ -37,6 +37,8 @@ AUTH_USER_MODEL = "accounts.User"
|
||||
# Application definition
|
||||
|
||||
DJANGO_APPS = [
|
||||
"jet.dashboard",
|
||||
"jet",
|
||||
"django.contrib.admin",
|
||||
"django.contrib.auth",
|
||||
"django.contrib.contenttypes",
|
||||
|
||||
@ -4,20 +4,22 @@ from django.conf.urls import handler404, handler500, handler400
|
||||
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:
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user