mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
Remove redundant code left from the fix in commit d6bd47
This commit is contained in:
@@ -8,14 +8,13 @@ from django.urls import reverse
|
|||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
from django_countries.fields import CountryField
|
from django_countries.fields import CountryField
|
||||||
from django_settings_export import settings_export
|
|
||||||
from post_office import mail
|
from post_office import mail
|
||||||
|
|
||||||
|
from constance import config
|
||||||
|
|
||||||
from .organisation import Organisation
|
from .organisation import Organisation
|
||||||
from .question import AnswerSet, Question, QuestionChoice
|
from .question import AnswerSet, Question, QuestionChoice
|
||||||
|
|
||||||
from constance import config
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
|
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
@@ -45,7 +44,6 @@ class User(AbstractUser):
|
|||||||
def send_welcome_email(self) -> None:
|
def send_welcome_email(self) -> None:
|
||||||
"""Send a welcome email to a new user."""
|
"""Send a welcome email to a new user."""
|
||||||
# Get exported data from settings.py first
|
# Get exported data from settings.py first
|
||||||
# context = settings_export(None)
|
|
||||||
context = {
|
context = {
|
||||||
'user': self,
|
'user': self,
|
||||||
'config': config,
|
'config': config,
|
||||||
|
|||||||
Reference in New Issue
Block a user