diff --git a/requirements.txt b/requirements.txt index e0b4209..9fe34fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ asgiref==3.6.0 Django==4.1.5 django-appconf==1.0.5 -django-baton==2.6.0 django-compressor==4.4 django-libsass==0.9 libsass==0.22.0 diff --git a/src/Results/settings.py b/src/Results/settings.py index 7a65f19..49e8aba 100644 --- a/src/Results/settings.py +++ b/src/Results/settings.py @@ -26,13 +26,12 @@ SECRET_KEY = 'django-insecure-==z9@atc)#1c@%@+txwiie=3qk)9r92antn3b$v#4o8r2q63&d # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ["*", "192.168.5.105"] +ALLOWED_HOSTS = ["*"] # Application definition INSTALLED_APPS = [ - 'baton', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -41,7 +40,6 @@ INSTALLED_APPS = [ 'django.contrib.staticfiles', # 'rest_framework_datatables' 'mainapp', - 'baton.autodiscover', 'compressor', ] diff --git a/src/Results/urls.py b/src/Results/urls.py index 6dde127..f567ebc 100644 --- a/src/Results/urls.py +++ b/src/Results/urls.py @@ -13,11 +13,10 @@ Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ -from baton.autodiscover import admin +from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), - path('baton/', include('baton.urls')), path('', include('mainapp.urls')), ] diff --git a/src/mainapp/templates/index.html b/src/mainapp/templates/index.html index fbf2ba8..99faee2 100644 --- a/src/mainapp/templates/index.html +++ b/src/mainapp/templates/index.html @@ -161,202 +161,204 @@ -
-
-
-