virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Fri, 16 Nov 2012 12:53:37 +0100
changeset 34 5da687a9458d
parent 6 9e29d68d48f1
permissions -rwxr-xr-x
Fix the ldt lib name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     1
diff -r 278:c4b2d21db51a piston/models.py
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     2
@@ -118 +118 @@
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     3
    timestamp = models.IntegerField()
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     4
    is_approved = models.BooleanField(default=False)
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     5
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     6
-   user = models.ForeignKey(User, null=True, blank=True, related_name='tokens')
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     7
+   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
9e29d68d48f1 fat commit to add a platform instance.
cavaliet
parents:
diff changeset
     8
    consumer = models.ForeignKey(Consumer)