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
parent
commit
8b3f0b9708
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. 2
      app/authentification/tests/test_template.py
  2. 2
      app/authentification/views.py

2
app/authentification/tests/test_template.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')

2
app/authentification/views.py

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

Loading…
Cancel
Save