On 7/11/14 11:30 AM, G Z wrote:
Thomas,
I have no cache setup, Django is all set to default right now there is
no local_settings file I have actually changed every settings file
that exist for django to match my production db yet still the wrong data.
Well, you will have to give more details on your setup. Which database?
What are the database settings? Do you have NFS involved?
I would guess that if you remove your development db you will see a
different error ;)
- Tom
On Friday, July 11, 2014 10:30:23 AM UTC-6, Thomas wrote:
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 django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
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/66e147de-875c-46af-be8d-1e02844f9408%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/66e147de-875c-46af-be8d-1e02844f9408%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscr...@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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/53C02ED5.3050004%40gmail.com.
For more options, visit https://groups.google.com/d/optout.