django-nested-inline icon indicating copy to clipboard operation
django-nested-inline copied to clipboard

Nested inline support for Django admin

Results 79 django-nested-inline issues
Sort by recently updated
recently updated
newest added
trafficstars

hi, there. request to admin/app_name/model/add/? ... raises models.FieldDoesNotExist when using NestedStackedInline and NestedModelAdmin. here's the simplest example. installed apps: ``` asgiref==3.5.2 Django==4.1.2 django-nested-admin==3.4.0 django-nested-inline==0.4.5 pipi==1.0.1 python-monkey-business==1.0.0 six==1.16.0 sqlparse==0.4.3 tzdata==2022.4 ```...

I am trying to save a model with a boolean field at level 2. `class Level2(models.Model): id = models.AutoField(primary_key=True) level1 = models.ForeignKey(Level1, blank=True, null=True) is_correct = models.BooleanField(default=False) class Level3(models.Model): id...

![image](https://user-images.githubusercontent.com/85499933/183278562-518170da-127c-4aff-b85a-1f01dba97031.png)

requires more information

current version is breaking on Django version 4. It is because the library is still using models.FieldDoesNotExist exception which is now moved to django.core.exceptions package.

The chosen variables are the ones that django uses for each of those elements, and ideally can also be omitted entirely in a future commit. This helps integrate django-nested-inline with...

In Django 3.1.2, the `FieldDoesNotExist` exception is not available in the `django.db.models` namespace, which causes errors to be thrown when adding a related model via the admin site, for example....

Options.module_name has been deprecated in favor of model_name. https://github.com/django-ordered-model/django-ordered-model/issues/30 Therefore, in admin.py (django-nested-inline==0.4.4), the following fix should be needed to avoid a no-name error during the admin option of "save_as"....

I am using django-nested-inline with a model defined like this: ``` Person └─ House └─Room ``` My Admin is defined in this way: ``` from nested_inline.admin import NestedStackedInline, NestedModelAdmin class...

https://docs.djangoproject.com/en/3.2/releases/2.2/#merging-of-form-media-assets jquery.init.js is already defined as a dependency on `NestedInline`, but not on `NestedModelAdmin`, causing errors: > Uncaught TypeError: Cannot read property 'fn' of undefined https://github.com/s-block/django-nested-inline/blob/master/nested_inline/static/admin/js/inlines-nested.js#L18 Fix https://github.com/s-block/django-nested-inline/issues/106

i have an intermediate model which is little more than a logical partition, so it has no fields except for an FK. See this LevelOne, for example: ``` class TopLevel(models.Model):...