Ticket #16088: management.diff

File management.diff, 392 bytes (added by anonymous, 13 years ago)
Line 
19a10
2> db = 'default'
311c12
4< content_types = list(ContentType.objects.filter(app_label=app.__name__.split('.')[-2]))
5---
6> content_types = list(ContentType.objects.using(db).filter(app_label=app.__name__.split('.')[-2]))
718c19
8< ct = ContentType.objects.get(app_label=opts.app_label,
9---
10> ct = ContentType.objects.using(db).get(app_label=opts.app_label,
Back to Top