X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Furls.py;fp=quotes%2Furls.py;h=014b6901fae599d46c09fc4f429fddb6a04c78f1;hb=45be55604156dc0064aa32ea508df0d90ac5a17a;hp=0000000000000000000000000000000000000000;hpb=e63e884391c4ac2c3af8ff72919a196f7bf9d83f;p=djsite.git diff --git a/quotes/urls.py b/quotes/urls.py new file mode 100644 index 0000000..014b690 --- /dev/null +++ b/quotes/urls.py @@ -0,0 +1,11 @@ +from django.conf.urls import url + +from . import views + +urlpatterns = [ + url(r'^$', views.random, name='random'), + url(r'^show/(?P[0-9]+)/$', views.onequote, name="onequote"), + url(r'^tag/(?P[0-9]+)/$', views.tags, name="tags"), + url(r'^author/(?P[0-9]+)/$', views.author, name="author"), + url(r'^all/$', views.all, name="all"), +]