port to new django, AI automated

This commit is contained in:
2026-03-30 22:35:36 +02:00
parent e2d166e437
commit 372da3caa9
215 changed files with 9283 additions and 2981 deletions

View File

@@ -1,9 +1,8 @@
import os
from django.urls import re_path
from django.views.static import serve
from django.urls import path
app_dir = os.path.dirname(__file__)
app_name = "location_field"
urlpatterns = [
re_path(r'^media/(.*)$', serve, {'document_root': '%s/media' % app_dir}),
]
# Static files for location_field should be placed in location_field/static/location_field/
# and will be served automatically by Django's staticfiles system.
urlpatterns = []