Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Commit

Permalink
Callforpapers form needs to be atomic
Browse files Browse the repository at this point in the history
This is probably the reason for occassional session-without-speaker
creations. If for some reason adding the speaker to the session fails
(should be no real reason for this, but perhaps trying to add the same
speaker more than once or something like that could trigger it), the
session was left around but not attached to any speaker.
  • Loading branch information
mhagander committed Aug 16, 2016
1 parent 75253b4 commit 893407d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgresqleu/confreg/views.py
Expand Up @@ -775,6 +775,7 @@ def speakerprofile(request, confurlname=None):
})

@login_required
@transaction.atomic
def callforpapers(request, confname):
conference = get_object_or_404(Conference, urlname=confname)
# This is called both for open and non-open call for papers, to let submitters view
Expand Down

0 comments on commit 893407d

Please sign in to comment.