Django users,

I have a view which is a generic.UpdateView, and I need to access a form
method - get_hidden_fields(). How do I access it?

I currently used self.form_class().get_hidden_fields() but I'm not sure if
this is correct. I think it creates a new instance of the form and I want
to use the current instance.

https://github.com/speedy-net/speedy-net/blob/staging/speedy/match/matches/views.py#L54

Thanks,
אורי
u...@speedy.net

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeF-wmX6nCsnWnmkpzbHpdK_qOrFTHhxXq0FWvJa18ZAhQ%40mail.gmail.com.

Reply via email to