Signup edit URL

This commit is contained in:
Aarni Halinen
2020-07-17 15:50:04 +03:00
parent 9fa62e9a2f
commit 673bbc09eb
5 changed files with 7 additions and 7 deletions
-2
View File
@@ -187,8 +187,6 @@ class Signup(models.Model):
@receiver(post_save, sender=Signup)
def email_on_signup(sender, instance, created, **kwargs):
"""Send email validation."""
if not settings.ENABLE_AUTOMATIC_EMAILS:
return
if created and instance.email:
# TODO: Possible bug due to many-to-many relationship with events and forms.
# TODO: Subject field crashes with lazy loaded translations.