Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntegrityError: duplicate key value violates unique constraint "unique_form_email_email_not_null" #879

Open
sentry-io bot opened this issue Apr 3, 2023 · 2 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 3, 2023

Sentry Issue: DJANGO-GIRLS-WEBSITE-59

UniqueViolation: duplicate key value violates unique constraint "unique_form_email_email_not_null"
DETAIL:  Key (form_id, email)=(770, [email protected]) already exists.

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

IntegrityError: duplicate key value violates unique constraint "unique_form_email_email_not_null"
DETAIL:  Key (form_id, email)=(770, [email protected]) already exists.

(12 additional frame(s) were not displayed)
...
  File "applications/views.py", line 41, in apply
    form.save()
  File "applications/forms.py", line 121, in save
    application.save()
  File "applications/models.py", line 166, in save
    super().save(*args, **kwargs)
@amakarudze amakarudze self-assigned this Jul 3, 2023
@mdehsan873
Copy link

@amakarudze Is this solved? If not let me know I have fixed this issue & will raise PR for the same.

@amakarudze amakarudze assigned mdehsan873 and unassigned amakarudze Aug 22, 2023
@amakarudze
Copy link
Contributor

@mdehsan873 feel free to pick this one up. It's similar to #901 but the people who had volunteered to work on it haven't submitted any PR in weeks. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants