virtualenv/web/res/patch/piston.diff
author verrierj
Thu, 08 Dec 2011 16:04:44 +0100
changeset 273 23a756e0bfee
parent 56 125fc6df230d
permissions -rw-r--r--
Fix bug in group form

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)