fix: Update ALLOWED_HOSTS and CORS_ALLOWED_ORIGINS defaults in Django settings

This commit is contained in:
pacnpal
2025-09-19 15:39:45 -04:00
parent a5fd56b117
commit 01195e198c
2 changed files with 6 additions and 7 deletions

View File

@@ -107,7 +107,7 @@ urlpatterns = [
if HAS_AUTOCOMPLETE and autocomplete_urls:
urlpatterns.insert(
2,
path("ac/", include(autocomplete_urls)),
path("ac/", include(autocomplete_urls[:2], namespace=autocomplete_urls[2])),
)
# Add API Documentation URLs if available