diff options
author | luxagraf <sng@luxagraf.net> | 2015-05-03 12:38:58 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-05-03 12:38:58 -0400 |
commit | 6c3fa9492e5a376e7382f5068faf808aa874670e (patch) | |
tree | 81fb42fa6bf3000e4b5d9cfed4f7dcbcfe5b6e7d /app/birds/urls.py | |
parent | 90a2dcf56ed8527c5c10262900864dca8ca71494 (diff) |
work started on bird app and display
Diffstat (limited to 'app/birds/urls.py')
-rw-r--r-- | app/birds/urls.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/birds/urls.py b/app/birds/urls.py new file mode 100644 index 0000000..6a219f1 --- /dev/null +++ b/app/birds/urls.py @@ -0,0 +1,8 @@ +from django.conf.urls import * +from django.views.generic.base import RedirectView +from django.views.generic.detail import DetailView + +urlpatterns = patterns('', + url(r'^list/(?P<user>[\w]+)', 'birds.views.bird_list'), + url(r'^(?P<slug>[-_\w]+)$', 'birds.views.bird_detail'), +) |