blob: 4cb5704a73c844f6fc84ab2d2dbdb1883078cd1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
$ python manage.py dumpdata --settings='django_skaschool.settings_production' --indent=4
|