Skip to content

Commit

Permalink
Update urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi authored Jun 10, 2024
1 parent d3af051 commit d785706
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project_name/project_name/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
re_path(r"^login/", login_view, name="auth.login"),
re_path(r"^logout/", logout_view, name="auth.logout"),
re_path(r"^password-reset/", include("apps.users.urls.password_reset")),
re_path(r"^test/(?P<path>.*)$", template_folder, {"document_root": "test"}),
re_path(
r"^test/(?P<path>.*)$",
template_folder,
{"document_root": "test", "show_indexes": True},
),
)

urlpatterns += [
Expand Down

0 comments on commit d785706

Please sign in to comment.