Can i use inline formset in django admin, a formset based on a custom form without a model?
The ModelAdmin class has the attri开发者_开发知识库bute inlines allowing class inherited from TabularInline or StackedInline. But these classes need a model.
No, you can't. If without a model, how can the formset objects be saved to database? As we all know that the model is the essential part of django's ORM.
精彩评论