mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-02 19:07:06 +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_countries.fields import CountryField
|
||||
from django_settings_export import settings_export
|
||||
from post_office import mail
|
||||
|
||||
from constance import config
|
||||
|
||||
from .organisation import Organisation
|
||||
from .question import AnswerSet, Question, QuestionChoice
|
||||
|
||||
from constance import config
|
||||
|
||||
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
|
||||
|
||||
__all__ = [
|
||||
@@ -45,7 +44,6 @@ class User(AbstractUser):
|
||||
def send_welcome_email(self) -> None:
|
||||
"""Send a welcome email to a new user."""
|
||||
# Get exported data from settings.py first
|
||||
# context = settings_export(None)
|
||||
context = {
|
||||
'user': self,
|
||||
'config': config,
|
||||
|
||||
Reference in New Issue
Block a user