virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Thu, 14 Jun 2012 15:03:46 +0200
changeset 670 5e2f25f59429
parent 56 125fc6df230d
permissions -rw-r--r--
Added tag V01.12 for changeset 40ef6aed9c20

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)