diff --git a/hc/settings.py b/hc/settings.py index 1b743fec..e755d55e 100644 --- a/hc/settings.py +++ b/hc/settings.py @@ -36,7 +36,8 @@ INSTALLED_APPS = ( 'hc.accounts', 'hc.api', - 'hc.front' + 'hc.front', + 'hc.payments' ) MIDDLEWARE_CLASSES = ( diff --git a/hc/urls.py b/hc/urls.py index 8038c1d9..f3f39a12 100644 --- a/hc/urls.py +++ b/hc/urls.py @@ -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'))) diff --git a/requirements.txt b/requirements.txt index d2fd8cff..fb6e3381 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +braintree django-appconf==1.0.1 django-ses-backend==0.1.1 Django==1.9