Skip to content
Snippets Groups Projects
Commit 40cf8587 authored by Dan Braghis's avatar Dan Braghis
Browse files

Tweak ReviewForm name display

parent e3b0d484
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@ class ReviewForm(models.Model):
StreamFieldPanel('form_fields'),
]
def __str__(self):
return self.name
def process_form_submission(self, form):
return Review.objects.create(
form_data=form.cleaned_data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment