Parcourir la source

Fix hardware_provisioning url namespace and really turn into a pluggable app. Fix 4c82039a186

opi il y a 8 ans
Parent
commit
5d5fd52430
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 0 2
      coin/urls.py
  2. 1 1
      hardware_provisioning/app.py

+ 0 - 2
coin/urls.py

@@ -37,8 +37,6 @@ urlpatterns = patterns(
     url(r'^members/', include('coin.members.urls', namespace='members')),
     url(r'^billing/', include('coin.billing.urls', namespace='billing')),
     url(r'^subscription/', include('coin.offers.urls', namespace='subscription')),
-    url(r'^hardware-provisioning/', include('hardware_provisioning.urls',
-        namespace='hardware_provisioning')),
 
     url(r'^admin/', include(admin.site.urls)),
 

+ 1 - 1
hardware_provisioning/app.py

@@ -8,4 +8,4 @@ import coin.apps
 class HardwareProvisioningConfig(AppConfig, coin.apps.AppURLs):
     name = 'hardware_provisioning'
     verbose_name = 'prêt de matériel'
-    exported_urlpatterns = [('hardware-provisioning', 'hardware_provisioning.urls')]
+    exported_urlpatterns = [('hardware_provisioning', 'hardware_provisioning.urls')]