Notes and Documents on django 1. Django Class Based Generic Views (The Good, The Bad, And the Ugly) http://glitterbug.in/blog/django-class-based-generic-views-the-good-the-bad-/show/ 2. Django documentation: The contenttypes framework https://docs.djangoproject.com/en/1.6/ref/contrib/contenttypes/ GenericForeignKey, GenericRelation, GenericInlineModelAdmin * serializing references to ContentType objects: [natural keys] dumpdata --natural ### dumpdata ### # --settings: $ python manage.py dumpdata --settings='django_skaschool.settings_production' --indent=4 # problems with contenttypes > dumpdata --natural some other useful arguments: > -e contenttypes -e auth.Permission only use this together with --natural, or else might end up with badly aligned id numbers