django-nested-inline
django-nested-inline copied to clipboard
Nested inline support for Django admin
Fixed Inlines displaying as Editable on Read Only view. We still need to get rid of the add buttons  @OskarPersson i hope you can take a look. I'll have...
Fixes #109
When `has_change_permission()` returns `False`it should return a **Read-Only view**, I'm getting **403:Forbidden** instead. **Example code** ``` class SomeAdmin(NestedModelAdmin): def has_change_permission(self, request, obj=None): return False ``` **Expected Behavior** Get Read-only view...
When kept has_add_permission to False it disables nested formset and only show main form
Extra 0 not working in following example ``` from django.contrib import admin from nested_inline.admin import NestedStackedInline, NestedModelAdmin from example.models import * class LevelTwoInline(NestedStackedInline): model = LevelTwo extra = 0 class...
> class ProductGroupInline(NestedStackedInline): > model = ProductGroup > extra = 1 > prepopulated_fields = {'product_group_slug': ('product_group_name',)} > > class SubcategoryInline(NestedStackedInline): > model = SubCategory > extra = 1 > inlines...
This is the change talked in https://github.com/s-block/django-nested-inline/issues/14 Please make a Pypi release if possible. Thanks!
"inline-group" for the first group does not have class for targeting it. Where as the second group with "inline-group" also has "nested-inline" making it easy to style. Would it be...
I have a dropdown field in my model - TopLevelAdmin I want to pass the value selected to the Inline - LevelOneInline Based on value selected in TopLevelAdmin's form I...
With this PR you should be able to get the root object (eg. for updating the queryset of deeply nested models based on the root object's pk or other field)