mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-24 02:39:20 -05:00
remove reverse
This commit is contained in:
@@ -21,7 +21,6 @@ from django.contrib import admin
|
||||
from django.urls import include, path, re_path
|
||||
from django.views.i18n import JavaScriptCatalog
|
||||
from django.views.static import serve
|
||||
from django_js_reverse import views as reverse_views
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
@@ -42,7 +41,6 @@ if settings.ENABLE_METRICS:
|
||||
|
||||
if settings.GUNICORN_MEDIA or settings.DEBUG:
|
||||
urlpatterns += re_path(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}),
|
||||
urlpatterns += re_path(r'^jsreverse.json$', reverse_views.urls_js, name='js_reverse'),
|
||||
|
||||
for p in settings.PLUGINS:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user