Skip to content

Commit

Permalink
urls.py not_found view added name
Browse files Browse the repository at this point in the history
  • Loading branch information
facmartoni committed Mar 13, 2020
1 parent 5ab0c15 commit 407bdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/facundonicolas/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
path('admin/', admin.site.urls),
path('', include(('posts.urls', 'posts'), namespace="posts")),
path('wip', main_views.wip, name='wip'),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + [re_path(r'^.*$', main_views.not_found)]
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) + [re_path(r'^.*$', main_views.not_found, name='not_found')]

0 comments on commit 407bdcb

Please sign in to comment.