from django.conf.urls.defaults import *

urlpatterns = patterns('satchmo.product',
(r'^(?P<product_slug>[-\w]+)/prices/$', 'views.get_price', {}, 'satchmo_product_prices'),
(r'^(?P<product_slug>[-\w]+)/$', 'views.get_product', {}, 'satchmo_product'),
(r'^inventory/edit/$', 'adminviews.edit_inventory', {}, 'satchmo_admin_edit_inventory'),
(r'^inventory/export/$', 'adminviews.export_products', {}, 'satchmo_admin_product_export'),
(r'^inventory/import/$', 'adminviews.import_products', {}, 'satchmo_admin_product_import'),
(r'^inventory/report/$', 'adminviews.product_active_report', {}, 'satchmo_admin_product_report'),
)

@@ -76,16 +76,20 @@
 oduct',%0A
+    
 (r'%5E(?P%3C
@@ -113,15 +113,8 @@
 %5D+)/
-prices/
 $', 
@@ -126,19 +126,21 @@
 s.get_pr
-ice
+oduct
 ', %7B%7D, '
@@ -158,19 +158,16 @@
 duct
-_prices
 '),%0A
+    
 (r'%5E
@@ -183,32 +183,39 @@
 ct_slug%3E%5B-%5Cw%5D+)/
+prices/
 $', 'views.get_p
@@ -207,37 +207,35 @@
 ', 'views.get_pr
-oduct
+ice
 ', %7B%7D, 'satchmo_
@@ -241,20 +241,31 @@
 _product
-'),%0A
+_prices'),%0A    
 (r'%5Einve
@@ -341,24 +341,28 @@
 nventory'),%0A
+    
 (r'%5Einventor
@@ -433,32 +433,36 @@
 oduct_export'),%0A
+    
 (r'%5Einventory/im
@@ -537,16 +537,20 @@
 port'),%0A
+    
 (r'%5Einve

Indent product URLs.