Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This Django app is brought to you by Balanced.
Marshall Jones (mjallday)

And a little help from the community
Timothy John Watts (readevalprint)

1 change: 0 additions & 1 deletion django_balanced/management/commands/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ class Command(BaseCommand):
'local system'

def handle(self, *args, **options):
balanced.configure(settings.BALANCED['API_KEY'])
BankAccount.sync()
Credit.sync()
10 changes: 0 additions & 10 deletions django_balanced/middleware.py

This file was deleted.

4 changes: 4 additions & 0 deletions django_balanced/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

from django.conf import settings

import balanced


LOGGER = logging.getLogger(__name__)

Expand Down Expand Up @@ -37,3 +39,5 @@

if not BALANCED.get('API_KEY'):
LOGGER.error('You must set the BALANCED_API_KEY environment variable.')
else:
balanced.configure(BALANCED['API_KEY'])