Modified urls.py to match patterns with or without the final / in the url.