Skip to content

Commit 8b3f0b9

Browse files
authored
Merge pull request doccano#363 from a-shkarupin/signup_fix
Fixes doccano#309 read settings properly
2 parents 22e74cf + e1ad285 commit 8b3f0b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/authentification/tests/test_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.test import SimpleTestCase, TestCase, RequestFactory, override_settings
22
from django.http import HttpRequest
33
from ..views import SignupView
4-
from app import settings
4+
from django.conf import settings
55
from api.tests.test_config import setenv
66

77
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.StaticFilesStorage')

app/authentification/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from django.views.generic import TemplateView
1010
from django.shortcuts import redirect
1111

12-
from app import settings
12+
from django.conf import settings
1313

1414

1515
class SignupView(TemplateView):

0 commit comments

Comments
 (0)