mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00
urls: add required exception parameter for page_not_found
Django 1.9+ requires an exception parameter for the page_not_found view. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
375e7587d1
commit
13a15cf3e5
|
@ -146,5 +146,5 @@ urlpatterns = [
|
|||
ClassicRecipeDetailView.as_view(
|
||||
template_name='layerindex/classicrecipedetail.html'),
|
||||
name='classic_recipe'),
|
||||
url(r'.*', page_not_found)
|
||||
url(r'.*', page_not_found, kwargs={'exception': Exception("Page not Found")})
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user