virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Thu, 18 Aug 2011 10:36:40 +0200
changeset 136 37496f2c1fa9
parent 56 125fc6df230d
permissions -rw-r--r--
Merge with 01f6e48255f7501febec8c132308243fb36a476d

diff -r 278:c4b2d21db51a piston/models.py
@@ -118 +118 @@
    timestamp = models.IntegerField()
    is_approved = models.BooleanField(default=False)

-   user = models.ForeignKey(User, null=True, blank=True, related_name='tokens')
+   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
    consumer = models.ForeignKey(Consumer)