mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 12:30:27 +02:00
Changed approach from CORS to a templating change
This commit is contained in:
parent
17ac251c36
commit
ea94831ab4
3 changed files with 23 additions and 6 deletions
|
@ -46,9 +46,9 @@ for step, view in [
|
|||
urlpatterns = [
|
||||
path("", views.index, name="home"),
|
||||
path(
|
||||
"admin/logout/",
|
||||
RedirectView.as_view(pattern_name="logout", permanent=False),
|
||||
),
|
||||
"admin/logout/",
|
||||
RedirectView.as_view(pattern_name="logout", permanent=False),
|
||||
),
|
||||
path("admin/", admin.site.urls),
|
||||
path(
|
||||
"application/<id>/edit/",
|
||||
|
@ -118,7 +118,9 @@ urlpatterns = [
|
|||
),
|
||||
]
|
||||
|
||||
|
||||
# What is the purpose of this?
|
||||
# This behaviour gets overwritten, so this doesn't do anything...
|
||||
# Login in particular
|
||||
if not settings.DEBUG:
|
||||
urlpatterns += [
|
||||
# redirect to login.gov
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue