diff --git a/web/quotes/quotedb/views.py b/web/quotes/quotedb/views.py index c01d05a4e2..3713ba63be 100644 --- a/web/quotes/quotedb/views.py +++ b/web/quotes/quotedb/views.py @@ -23,11 +23,11 @@ def show_quote(request, quote_id): class AddQuoteForm(ModelForm): class Meta: model = models.Quote - fields = ['quote'] + fields = ["quote"] def add_quote(request): - if request.method == 'POST': + if request.method == "POST": form = AddQuoteForm(request.POST) if form.is_valid(): new_quote = form.save(commit=False) @@ -38,4 +38,3 @@ def add_quote(request): form = AddQuoteForm() return render(request, "quotedb/new.html", {"form": form}) -