django-nested-inline
django-nested-inline copied to clipboard
Nested inline support for Django admin
Does it have compatibility with rest framework or it is only for Admin panel usage? Please share an example so that I can check that how can I use it...
We deleted "value" in all inputs in new form, but stay it in "empty-form", so if add next form is possible to have "id" value from form before cloned. So,...
Maybe a noob problem, but I got an empty list when doing: ``` class ExampleAdmin(NestedModelAdmin, SpecificAdmin1, SpecificAdmin2): def get_inline_instances(self, request, obj=None): inlines_inst = super( ExampleAdmin, self).get_inline_instances(request, obj) ``` Instead of...
The use of [the InlineModelAdmin.classes attr](https://docs.djangoproject.com/en/1.11/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin.classes) was missing in your inline template rewriting. With the following code using this `classes` inline attr, which is needed for my uses cases, I...
Please examine the commit and comment. Thanks
hi. i have the following model definition setup ``` class Product(AuthorStampedModel): name = models.CharField(max_length=100) summary = models.TextField(blank=True, default="") related_products = models.ManyToManyField( "self", related_name="related_to", blank=True, null=True ) similar_products = models.ManyToManyField( "self",...
If max_num is set in modelAdmin in admin.py and you add forms and them remove it (without saving) the add button does not appear again, the page must be reloaded...
If max_num is set in modelAdmin in admin.py and you add forms and them remove it (without saving) the add button does not appear again, the page must be reloaded...
Hi, I'd like to use nested_inline on a django instance running on heroku. Everything works great locally, but I'm getting an error on the heroku server, for some reason. I...
The `forms.css` file is included from Django in admin, so there should only overrides to that in `forms-nested.css`. This PR removes all parts, that has been copied from Django and...