Admin customization
This commit is contained in:
parent
70f7987706
commit
ca47cbf8c7
@ -37,6 +37,8 @@ AUTH_USER_MODEL = "accounts.User"
|
|||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
DJANGO_APPS = [
|
DJANGO_APPS = [
|
||||||
|
"jet.dashboard",
|
||||||
|
"jet",
|
||||||
"django.contrib.admin",
|
"django.contrib.admin",
|
||||||
"django.contrib.auth",
|
"django.contrib.auth",
|
||||||
"django.contrib.contenttypes",
|
"django.contrib.contenttypes",
|
||||||
|
|||||||
@ -4,20 +4,22 @@ from django.conf.urls import handler404, handler500, handler400
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.conf.urls.static import static
|
from django.conf.urls.static import static
|
||||||
|
|
||||||
|
admin.site.site_header = "Django LMS Admin"
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', include('app.urls')),
|
path("jet/", include("jet.urls", "jet")), # Django JET URLS
|
||||||
path('accounts/', include('accounts.urls')),
|
path(
|
||||||
path('programs/', include('course.urls')),
|
"jet/dashboard/", include("jet.dashboard.urls", "jet-dashboard")
|
||||||
path('result/', include('result.urls')),
|
), # Django JET dashboard URLS
|
||||||
path('search/', include('search.urls')),
|
path("", include("app.urls")),
|
||||||
path('quiz/', include('quiz.urls')),
|
path("accounts/", include("accounts.urls")),
|
||||||
|
path("programs/", include("course.urls")),
|
||||||
path('payments/', include('payments.urls')),
|
path("result/", include("result.urls")),
|
||||||
|
path("search/", include("search.urls")),
|
||||||
path('accounts/api/', include('accounts.api.urls', namespace='accounts-api')),
|
path("quiz/", include("quiz.urls")),
|
||||||
|
path("payments/", include("payments.urls")),
|
||||||
path('admin/', admin.site.urls),
|
path("accounts/api/", include("accounts.api.urls", namespace="accounts-api")),
|
||||||
|
path("admin/", admin.site.urls),
|
||||||
]
|
]
|
||||||
|
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
|
|||||||
@ -25,3 +25,6 @@ drf-spectacular==0.25.1 # https://github.com/tfranzel/drf-spectacular
|
|||||||
reportlab==4.0.4
|
reportlab==4.0.4
|
||||||
stripe==5.5.0
|
stripe==5.5.0
|
||||||
gopay==2.0.1
|
gopay==2.0.1
|
||||||
|
|
||||||
|
# Customize django admin
|
||||||
|
django-jet-reboot==1.3.5
|
||||||
Loading…
x
Reference in New Issue
Block a user