Custom 404 error view to handle translated error messages correctly

This commit is contained in:
Raphael Michel
2016-09-26 19:00:55 +02:00
parent 00810cdfab
commit 6d894bf98c
3 changed files with 28 additions and 1 deletions

View File

@@ -47,3 +47,5 @@ plugin_patterns = [
# The presale namespace comes last, because it contains a wildcard catch
urlpatterns = common_patterns + plugin_patterns + presale_patterns_main
handler404 = 'pretix.base.views.errors.page_not_found'

View File

@@ -40,3 +40,5 @@ plugin_patterns = [
# The presale namespace comes last, because it contains a wildcard catch
urlpatterns = common_patterns + plugin_patterns + presale_patterns
handler404 = 'pretix.base.views.errors.page_not_found'