django class-based views with inline model-form or formset

前端 未结 7 977
有刺的猬
有刺的猬 2020-11-28 18:08

I have the following models:

class Bill(models.Model):
    date = models.DateTimeField(_(\"Date of bill\"),null=True,blank=True)

class Item(models.Model):
          


        
相关标签:
7条回答
  • 2020-11-28 19:03

    You should try out django-extra-views. Look for CreateWithInlinesView and UpdateWithInlinesView.

    0 讨论(0)
提交回复
热议问题