port to new django, AI automated
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user