Hi, I have a viewset in a non-model app, I made objects and serializers to
work with data from an external API, I wanna know if someone can tell me a
way to render a form that works with create method of my viewset, I mean
render a form in other template and url separated of the listview.
Example:
myapp_router = DefaultRouter()
myapp_router.register(r'^data', DataViewSet, 'data-app'),
extra_url = path('data/add', DataViewSet.as_view({'post': 'create'})),
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.