|
|
@ -1,4 +1,3 @@ |
|
|
|
from django.conf import settings |
|
|
|
from django.conf.urls import include, url |
|
|
|
from django.contrib import admin |
|
|
|
|
|
|
@ -7,8 +6,5 @@ urlpatterns = [ |
|
|
|
url(r'^accounts/', include('hc.accounts.urls')), |
|
|
|
url(r'^', include('hc.api.urls')), |
|
|
|
url(r'^', include('hc.front.urls')), |
|
|
|
|
|
|
|
url(r'^', include('hc.payments.urls')) |
|
|
|
] |
|
|
|
|
|
|
|
if settings.USE_PAYMENTS: |
|
|
|
urlpatterns.append(url(r'^', include('hc.payments.urls'))) |