virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Mon, 19 Nov 2012 22:57:12 +0100
changeset 74 1b68d4acab0d
parent 1 08f6e99af174
permissions -rwxr-xr-x
back to multisegment. new version

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)