[Django]-Django catching any url?

7👍

Without commenting on whether you should do this, Django will attempt to match your url patterns in order. So if you want a fall-through / catch-all handler, put this last:

url(r'^.*', 'database.views.index', name='unmatched')
👤dylrei

Leave a comment