Hi everybody.

I'm stuck on a problem with the Django ORM.
After a basic query like select * from table where id = 1, the result
is still the same although i've update the row in the DB.

Example:

>>> Tag.objects.all()
[<Tag: tag1>]

>>> tag = Tag.objects.all().get()
>>> tag
<Tag: tag1>

>>>  tag.name = 'tag11'
>>>  tag.save()

>>>  Tag.objects.all()
[<Tag: tag1>]

How to say to Django to make the query again ?

Thanks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to