Nested inlines in the Django admin?

后端 未结 5 825
春和景丽
春和景丽 2020-11-28 12:28

Alright, I have a fairly simple design.

class Update(models.Model):
    pub_date = models.DateField()
    title = models.CharField(max_length=512)

class Pos         


        
5条回答
  •  野性不改
    2020-11-28 13:16

    I have just ran into this issue as well... Seems this thread which contains the request for the nested inlines feature (https://code.djangoproject.com/ticket/9025#no2) has been updated with further information.

    A custom made app called "django-super-inline" has been released. More details here: https://github.com/BertrandBordage/django-super-inlines

    Installation and usage instructions below.

    Hope this is useful for whomever comes across this.

提交回复
热议问题