新增“数据编辑”

This commit is contained in:
2025-11-13 16:52:23 +08:00
parent 1bbd777565
commit d37d60b896
10 changed files with 210 additions and 39 deletions

View File

@@ -16,6 +16,8 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static
from main.views import home as main_home
urlpatterns = [
@@ -25,3 +27,6 @@ urlpatterns = [
path('elastic/', include('elastic.urls', namespace='elastic')),
path('', main_home, name='root_home'),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)