use same database across various applications in a django project?
Hi,
I have a project which has two applications, app_1 and app_2, when I run "python manage.py syncdb" it creates tables defined in model.py (same for both apps), but it creates tables like app_1_table1, app_1_table1, app_2_table1, app_2_table2, however, i want both applications use the same table prefix rather two different prefix.
more precisely I want my both apps use same model and one single database.
any help in this regard would be appreciated.
Thanks,
Burhan
--
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/-/CCUnqkFgfS4J.
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