mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
Add catchall 404 URL if nothing else matches
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
93be8b1172
commit
b3afd4f2fd
2
urls.py
2
urls.py
|
@ -6,6 +6,7 @@
|
|||
# All rights reserved.
|
||||
|
||||
from django.conf.urls.defaults import patterns, include, url
|
||||
from django.views.defaults import page_not_found
|
||||
|
||||
from django.contrib import admin
|
||||
admin.autodiscover()
|
||||
|
@ -15,5 +16,6 @@ urlpatterns = patterns('',
|
|||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^accounts/', include('registration.urls')),
|
||||
url(r'^captcha/', include('captcha.urls')),
|
||||
url(r'.*', page_not_found)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user