Skip to content

Commit 66934bb

Browse files
author
Alexandr Shurigin
committed
readme fix
1 parent 8bf3bb7 commit 66934bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ from project.apps.macrosurl import url
7171
urlpatterns = patterns(
7272
'yourapp.views',
7373
url('^:category_slug/$', 'category'),
74-
url('^:category_slug/:product_slug/$', 'category_product'),
75-
url('^:category_slug/:product_slug/:variant_id$', 'category_product_variant'),
76-
url('^news/$', 'news'),
77-
url('^news/:year/:month/:day$', 'news_date'),
78-
url('^news/:slug$', 'news_entry'),
74+
url(':category_slug/:product_slug/', 'category_product'),
75+
url(':category_slug/:product_slug/:variant_id', 'category_product_variant'),
76+
url('news/', 'news'),
77+
url('news/:year/:month/:day$', 'news_date'),
78+
url('news/:slug$', 'news_entry'),
7979
url('^order/:id$', 'order'),
8080
)
8181
```

0 commit comments

Comments
 (0)