On Tue, 2006-08-15 at 23:22 -0700, 一首诗 wrote:
> Hah!
> 
> I've just found what happened!
> 
> django.db.models.fill_cache_table is a function that calls itself until
> it processed all table connected by FK.

For anybody else wondering why they can't this method, it's called
fill_table_cache() (I just spent a few minutes trying to work out why
the original poster felt so confident and I couldn't find the method).

> But if there is a loop in FK relations,  it will never stopped!

Wow. Looks like you're right. Good debugging!

That's probably either going to be really easy to fix or really hard.
Hopefully you can think of something. Otherwise, please do file a ticket
about this and we'll have a look at it and fix it.

If you can't find a solution easily, don't worry too much. That's a part
of the code that I'm working on at the moment (rewriting a large chunk
of it), so I'll add your problem to my pile. 

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to