virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Wed, 19 Sep 2012 01:57:47 +0900
changeset 1 08f6e99af174
permissions -rwxr-xr-x
prepare the installation of the ldt platform

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)