I've now resolved this issue, it was caused by a combination of a
database config error and using the wrong model manager

Regards,
Andrew Ingram

On 12 June, 12:09, Andrew Ingram <a...@andrewingram.net> wrote:
> I'm having a problem with a manytomany relationship in Django..
>
> The items in the relationship (no intermediate model) are being saved
> successfully through the admin (I've checked the database after
> saving), but the queries that fetch the items aren't returning the new
> additions.
>
> This only seems to be an issue with putting items in the relationship
> that have only just been added to the site (ie putting brand new
> products in a featured products relationship), which leads me to
> suspect there's some sort of database caching issue (MySQL). An hour
> or so after the item has been added, the relationship works fine (it's
> not a site-level caching thing because the issue affects my dev
> environment pointing at the live database)
>
> Any thoughts would be greatly appreciated
>
> Regards,
> Andrew Ingram
--~--~---------~--~----~------------~-------~--~----~
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