virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Tue, 03 May 2011 17:21:52 +0200
changeset 85 7c087e4b154f
parent 56 125fc6df230d
permissions -rw-r--r--
Added tag V00.05 for changeset 91a4dafd5904

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)