From abd777b6dd00bc35de2ce172182231bb352917b3 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Fri, 30 Jun 2023 03:05:06 +0000 Subject: [PATCH] Install custom admin --- requirements.txt | 2 ++ src/FOSSDB/settings.py | 2 ++ src/FOSSDB/urls.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/requirements.txt b/requirements.txt index 9359678..fa22f71 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,5 @@ mysqlclient==2.1.1 django-tailwind==3.6.0 django-search-views==0.3.7 gunicorn==20.1.0 +django-jet-reboot==1.3.3 +google-api-python-client==1.4.1 diff --git a/src/FOSSDB/settings.py b/src/FOSSDB/settings.py index bada5dd..4e1aa98 100644 --- a/src/FOSSDB/settings.py +++ b/src/FOSSDB/settings.py @@ -35,6 +35,8 @@ DEBUG = config["DEBUG"] # Application definition INSTALLED_APPS = [ + "jet.dashboard", + "jet", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", diff --git a/src/FOSSDB/urls.py b/src/FOSSDB/urls.py index bc637e9..301479f 100644 --- a/src/FOSSDB/urls.py +++ b/src/FOSSDB/urls.py @@ -18,6 +18,8 @@ from django.contrib import admin from django.urls import include, path urlpatterns = [ + path("jet/", include("jet.urls", "jet")), + path("jet/dashboard/", include("jet.dashboard.urls", "jet-dashboard")), path("admin/", admin.site.urls), path("", include("main.urls")), path("auth/", include("account.urls")),