Skip to content

Commit 3c6d792

Browse files
author
Matthew Fisher
committed
import from django.conf instead
you should always import from django.conf rather than importing from the local package. That way, things like the @override_settings decorator in Django 1.4 will work.
1 parent deb6a14 commit 3c6d792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/api/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from api import docker, models, serializers
2727
from .exceptions import BuildFormationError, UserRegistrationException
2828

29-
from deis import settings
29+
from django.conf import settings
3030

3131

3232
class AnonymousAuthentication(BaseAuthentication):

0 commit comments

Comments
 (0)