LOGIN
Sai Prasad
34
Community Expert
Software Dev :) Let's build some dream ideas. (Project Leader)
 · BhubaneswarIndia
Share
Report
Get Link
QUESTION
Open

DB management in django

Django is a heaven for people who want their forms to be generated directly from the models… But with complex database schemas such as many to many relationship it’s getting at bit confusing… I request team members to discuss some techniques to implement forms using models implementing many to many relationships.

#python #django Database

Database
Python
4 likes 
Like
Award Contribution
Full Stack developer
 · NoidaIndia
Share
Report
Get Link

Can you please share more details?

Like
2 likes 
Award Contribution
Ranjan Dailata
91
Community Expert
Application Architect/Lead Developer. Collaborizm Roundtable.
 · ChicagoU.S.
Share
Report
Get Link

One should never, ever generate forms based on the DB model. The fundamental principle of DB is used for data persistence. The view layer what you present to the user should not have a knowledge of the behind the scene data model. Say if you introduce the dependency, it will make your life tough for a complex project.

The rapid development of forms is good for prototyping and not for building a real product.

Like
3 likes 
Award Contribution
Sai Prasad
34
Community Expert
Software Dev :) Let's build some dream ideas. (Project Leader)
 · BhubaneswarIndia
Share
Report
Get Link

Ranjan Dailata I did realized that and its been implemented using AJAX calls and we are working on the UI layer to be built on ReactJS, comparison to present UI layer through pure html and form submission through methods.

Like
1 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
Chat with us!
Help
Write something before you submit it!
Photo updated
Request Sent!
Updated
Copied to Clipboard