Ticket #16511: models.py

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

x.models

Line 
1from django.db import models
2from django.contrib.contenttypes import generic
3from y.models import B
4
5class A:
6 sth = models.CharField(max_length=100)
7 b_rel = generic.GenericRelation(B)
Back to Top