[Django]-How to create views automatically from model as in Django admin?

3๐Ÿ‘

For those who are looking for an answer here, perhaps django-baker (https://github.com/krisfields/django-baker.git) will do what you need.

pip install django-baker

Then add django_baker to INSTALLED_APPS and run

python manage.py bake your_app_name

Note that previously you need to remove urls.py and views.py from your app so they can be generated.

Then it will generate all the skeleton stuff.

๐Ÿ‘คMartin0x777

1๐Ÿ‘

๐Ÿ‘คGerard

0๐Ÿ‘

I think Iโ€™ve found one possible solution. The concept is called model drive development. There are quite a few java frameworks that provide the ability to create a, rather simple, application directly from the model. This post presents some of them http://www.javaneverdie.com/java-frameworks/java-domain-driven-frameworks-review/

๐Ÿ‘คandrers52

Leave a comment