[Fixed]-UpdateView is missing a QuerySet Error

19👍

SOLUTION:

Fixed it. It turns out I accidentally deleted model=Entry from the view. Once I added it back, it started to work again.

class EntryUpdate(UpdateView):
    model = Entry
    form_class = EntryForm
    template_name = 'argent/entry_form.html'

    def form_valid(self, form):
        ....
👤grigs

Leave a comment