Last modified: Jan 10, 2023 By Alexander Williams

How to Display all Fields in Django Updateview [simple Example]

Syntax


fields = '__all__'

example

   
class MyView(UpdateView):
    model = MyModel
    fields = '__all__'

Hope this helps