How to share model/data cross django project
Hi,
There are about 20 views in a django project (with a django app). Recently, a new requirement occurred, someone want to split current views into 2 site but the database is unique. That means 2 subdomain, 2 views sets, 2 deployment scripts, but only one database.
Can I implement this feature by writing 2 setting.py files?
Environment:
Django 1.5.4
Nginx + uwsgi
MySQL
Thanks,
Dig
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home