On 7/11/14 9:27 AM, G Z wrote:
So I tracked down an issue, whenever I change my database from development to production which have the same exact schema it still uses the data from development although my settings.py file is set to the production database and it even swtiches the user I have to log in with to the one associated with production but all of the data is development.

I have tried running sync db and sql. Nothing seems to work I know this is a django ism but not sure how to fix it .
Django only knows what you tell it.

If the production setup is really specifying the production database (make sure you don't have a local_settings.py overriding your settings.py values), perhaps you should check your caching setup next?

hth

                           - Tom

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/53C01104.6000702%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to