Skip to content

Does it work with function based views? #179

Answered by jrief
dchimeno asked this question in Q&A
Discussion options

You must be logged in to vote

As always, it depends.

If your are using a widget which requires an endpoint, such as the Selectize- or FileUpload-widget, then this extra endpoint must be handled somewhere. Therefore django-formset makes heavy use of special view mixin classes, such as IncompleteSelectResponseMixin, FileUploadMixin.

For widgets which do not require an endpoint, some requests and responses must be altered. Here it might be possible to proceed with function based views. However, I believe it is less work to migrate them to classed based views rather than altering the request and response in those functions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dchimeno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants