I'm having an issue with Django URL patterns.
When I add a '/' to the end of the index URL, the page returns a 404 error (Page Not Found) and if I remove the '/' from the end of the URL then the page works fine.
The issue is not reproducible with the URL for the admin page, can someone explain what's going on?
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^$/',index),
]