Browse Source

Add hc.payments to INSTALLED_APPS and braintree to requirements.txt so hc.payments tests can be run too.

pull/25/merge
Pēteris Caune 9 years ago
parent
commit
0eab82c9a3
3 changed files with 4 additions and 6 deletions
  1. +2
    -1
      hc/settings.py
  2. +1
    -5
      hc/urls.py
  3. +1
    -0
      requirements.txt

+ 2
- 1
hc/settings.py View File

@ -36,7 +36,8 @@ INSTALLED_APPS = (
'hc.accounts',
'hc.api',
'hc.front'
'hc.front',
'hc.payments'
)
MIDDLEWARE_CLASSES = (


+ 1
- 5
hc/urls.py View File

@ -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')))

+ 1
- 0
requirements.txt View File

@ -1,3 +1,4 @@
braintree
django-appconf==1.0.1
django-ses-backend==0.1.1
Django==1.9


Loading…
Cancel
Save