Make sure that CartItem urls will not match the first rule EVERY time #144

Merged
merged 1 commit into from Feb 22, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

View
@@ -13,9 +13,9 @@
name='cart_update'),
# CartItems
- url('^item/(?P<id>[0-9A-Za-z-_.//]+)$', CartItemDetail.as_view(),
+ url('^item/(?P<id>[0-9]+)$', CartItemDetail.as_view(),
name='cart_item'),
- url('^item/(?P<id>[0-9A-Za-z-_.//]+)/delete$',
+ url('^item/(?P<id>[0-9]+)/delete$',
CartItemDetail.as_view(action='delete'),
name='cart_item_delete'),
)