Re: Bug with contenttypes when models are removed - what approach to take?

2011-12-24 Thread Etienne Robillard
On 12/24/2011 12:55 PM, Diederik van der Boor wrote: Hi, I've encountered a bug with the contenttypes framework when a model is removed. You'll end up with a AttributeError in _add_to_cache(): 'NoneType' object has no attribute '_meta' That's because the ContentType still exists, byt C

Bug with contenttypes when models are removed - what approach to take?

2011-12-24 Thread Diederik van der Boor
Hi, I've encountered a bug with the contenttypes framework when a model is removed. You'll end up with a AttributeError in _add_to_cache(): 'NoneType' object has no attribute '_meta' That's because the ContentType still exists, byt ContentType. I would like to solve it, yet I'm not sur