Skip to content

Commit

Permalink
Revert "removed more unused stuff"
Browse files Browse the repository at this point in the history
This reverts commit a0ac379.
  • Loading branch information
vabene1111 committed Dec 28, 2024
1 parent 9cf1435 commit 1a39066
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ python manage.py migrate

echo "Collecting static files, this may take a while..."

python manage.py collectstatic_js_reverse
python manage.py collectstatic --noinput

echo "Done"
Expand Down
1 change: 1 addition & 0 deletions recipes/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def extract_comma_list(env_key, default=None):
'django_cleanup.apps.CleanupConfig',
'webpack_loader',
'django_vite',
'django_js_reverse',
'hcaptcha',
'allauth',
'allauth.account',
Expand Down
2 changes: 2 additions & 0 deletions recipes/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
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('', include('cookbook.urls')),
Expand All @@ -42,6 +43,7 @@

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:
Expand Down

0 comments on commit 1a39066

Please sign in to comment.