Ticket #16511: models.2.py

File models.2.py, 227 bytes (added by rjdg@…, 13 years ago)

y.models

Line 
1from django.db import models
2from django.contrib.contenttypes import generic
3from x.models import A
4
5class B:
6 content_object = generic.GenericForeignKey()
7
8class C:
9 a = models.ForeignKey(A)
Back to Top