On Saturday, December 24, 2011 6:55:53 PM UTC+1, Diederik van der Boor 
wrote:
>
> 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.
>

You are  supposed to run manage.py syncdb after removing model which will 
ask you if you want to delete stale contenttypes.


Cheers,
Florian

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/5b3g8PoTAcYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to