virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Fri, 19 Oct 2012 02:17:46 +0200
changeset 35 a54d72ee2e41
parent 1 08f6e99af174
permissions -rwxr-xr-x
change default language + wsgi

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)