Browse Source
Merge pull request #363 from a-shkarupin/signup_fix
Fixes #309 read settings properly
pull/443/head
Hiroki Nakayama
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
app/authentification/tests/test_template.py
-
app/authentification/views.py
|
|
@ -1,7 +1,7 @@ |
|
|
|
from django.test import SimpleTestCase, TestCase, RequestFactory, override_settings |
|
|
|
from django.http import HttpRequest |
|
|
|
from ..views import SignupView |
|
|
|
from app import settings |
|
|
|
from django.conf import settings |
|
|
|
from api.tests.test_config import setenv |
|
|
|
|
|
|
|
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.StaticFilesStorage') |
|
|
|
|
|
@ -9,7 +9,7 @@ from django.core.mail import EmailMessage |
|
|
|
from django.views.generic import TemplateView |
|
|
|
from django.shortcuts import redirect |
|
|
|
|
|
|
|
from app import settings |
|
|
|
from django.conf import settings |
|
|
|
|
|
|
|
|
|
|
|
class SignupView(TemplateView): |
|
|
|