diff options
author | Mike Crute <mcrute@gmail.com> | 2013-04-20 10:56:32 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2013-04-20 11:00:35 -0400 |
commit | 3aa22ec4cd4e8c80a6b3269d86a00912542462dd (patch) | |
tree | 10d3f7a05538bf9e7605c7d1677887f0fbedbf1b /recipe/urls.py | |
parent | c5f8644eb1f542a7a6e118955a69d843fd61a24e (diff) | |
download | greenbox-3aa22ec4cd4e8c80a6b3269d86a00912542462dd.tar.bz2 greenbox-3aa22ec4cd4e8c80a6b3269d86a00912542462dd.tar.xz greenbox-3aa22ec4cd4e8c80a6b3269d86a00912542462dd.zip |
Move recipe to the top level
Diffstat (limited to 'recipe/urls.py')
-rw-r--r-- | recipe/urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipe/urls.py b/recipe/urls.py new file mode 100644 index 0000000..4c937a0 --- /dev/null +++ b/recipe/urls.py | |||
@@ -0,0 +1,7 @@ | |||
1 | from django.conf.urls.defaults import patterns, url | ||
2 | |||
3 | |||
4 | urlpatterns = patterns('recipe.views', | ||
5 | url(r'^(?P<slug>[^/]+)', 'recipe_details'), | ||
6 | url(r'^$', 'recipe_list'), | ||
7 | ) | ||