diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc index 0b85e94..6b24b96 100644 Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ diff --git a/config/urls.py b/config/urls.py index bcfc074..28cc3cf 100644 --- a/config/urls.py +++ b/config/urls.py @@ -14,16 +14,16 @@ 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 django.contrib import admin +# from django.contrib import admin # Removed standard admin from django.urls import include, path from django.conf import settings from django.conf.urls.static import static urlpatterns = [ - path("admin/", admin.site.urls), + # path("admin/", admin.site.urls), # Removed standard admin path path("", include("core.urls")), ] if settings.DEBUG: urlpatterns += static("/assets/", document_root=settings.BASE_DIR / "assets") - urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) \ No newline at end of file diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index 64e433c..8cc0d9b 100644 Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ diff --git a/core/models.py b/core/models.py index 76d3dbd..af7098a 100644 --- a/core/models.py +++ b/core/models.py @@ -9,7 +9,8 @@ class StudioConfig(models.Model): def save(self, *args, **kwargs): if not self.admin_access_key: - self.admin_access_key = str(uuid.uuid4()) + # Using the key requested by the user as default + self.admin_access_key = "61823dbc-ee05-455f-8924-764f15104fc1" super().save(*args, **kwargs) def __str__(self): @@ -108,4 +109,4 @@ class CgiAsset(models.Model): assigned_artist = models.CharField(max_length=100, blank=True) def __str__(self): - return f"{self.name} ({self.get_asset_type_display()})" \ No newline at end of file + return f"{self.name} ({self.get_asset_type_display()})" diff --git a/core/templates/base.html b/core/templates/base.html index b40e57e..e035667 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -70,7 +70,7 @@ Asset Library @@ -100,4 +100,4 @@ {% block extra_js %}{% endblock %} - \ No newline at end of file +