virtualenv/web/res/patch/piston.diff
author verrierj
Wed, 30 Nov 2011 14:15:17 +0100
changeset 263 eba92ea32281
parent 56 125fc6df230d
permissions -rw-r--r--
Ask confirmation when user leaves a group

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)