All installed ModelAdmin models:

>>> from django.contrib.admin import site
>>> site._registry.keys()

If you only got at this from `manage.py shell`, then you may need to import 
your urls.py file first.

Getting those that are not registered is a bit longer:

>>> from django.db.models import get_models
>>> from django.conf import settings
>>> set(get_models()).difference(site._registry.keys())

Matt.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/QZ2pV8Mj240J.
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