virtualenv/web/res/patch/piston.diff
author verrierj
Wed, 07 Sep 2011 18:16:37 +0200
changeset 170 caa1986245d7
parent 56 125fc6df230d
permissions -rw-r--r--
Translation + naming conventions (PEP8)

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)