how to organize models
Hi, I'm developing my first web application with Django. The model is growing up quite fast and I started to split the code in different files I putted under models directory with its __init__.py file. Everything works fine, but syncdb doesn't recognize new models, and consequently doesn't create new tables.
What is the best practice to organize models?
I thought to create different applications, but in this case I don't know how to manage relations across differents applications.
What do you suggest?
Thanks in advance.
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/gX_-6vldCO8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home