asifpy / django-crudbuilder

Generic CRUD implementation in Django
https://django-crudbuilder.readthedocs.org/en/latest/index.html
Apache License 2.0
193 stars 67 forks source link

Feature request for "inline" adding/editing related objects #33

Closed TheRaspyDev closed 7 years ago

TheRaspyDev commented 7 years ago

Hi

I found django-crudbuilder when I was looking for a generic implementation of CRUD forms. It looks very promising and easy to understand.

The only thing I'm missing in django-crudbuilder is the possibility for "inline" editing/adding a related object (as in django admin).

On my research I found django-addanother (https://github.com/jonashaag/django-addanother) which supplies exactly this functionality in a small app.

Would it be possible to add this functionality to django-crudbuilder either by using/referencing the django-addanother app or by implementing this directly into django-crudbuilder?

Regards

asifpy commented 7 years ago

We shouldn't add more hard dependencies like django-addanother, which makes hard to maintain the current package. However you can use django-addanother with django-crudbuilder by adding custome model forms. I already added example which uses both. You can find it here django-addanother with crudbuilder (in django-quickstart)