]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/urls.py
Add testing for the 'random' page
[djsite.git] / quotes / urls.py
index 3e905bc5393db6a99318fa8b9be39570922412dd..8864db0ce36ce98f2fea743bf80a776adb939919 100644 (file)
@@ -5,6 +5,7 @@ from . import views
 urlpatterns = [
     url(r'^$', views.random, name='random'),
     url(r'^random$', views.random, name='random'),
+    url(r'^random/$', views.random, name='random'),
     url(r'^show/(?P<quote_id>[0-9]+)/$', views.onequote, name="onequote"),
     url(r'^tag/(?P<tag_id>[0-9]+)/$', views.tags, name="tags"),
     url(r'^author/(?P<author_id>[0-9]+)/$', views.author, name="author"),