Permalink
Browse files

Add a test for django model inheritance of the foreign key kind.

  • Loading branch information...
1 parent 298488a commit 0dc45239dde56ec7f1406646de4749a5cf43303e @g2p committed Apr 7, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 proj_name/app_name/models.py
@@ -32,3 +32,7 @@ class SelfRef(models.Model):
class MultiSelfRef(models.Model):
name = models.CharField(max_length=50)
ref = models.ManyToManyField('self')
+
+class PositionedTag(Tag):
+ position = models.IntegerField()
+

0 comments on commit 0dc4523

Please sign in to comment.