virtualenv/web/res/patch/piston.diff
author grandjoncl
Thu, 18 Oct 2012 10:41:49 +0200
changeset 859 cc6b53f3577d
parent 56 125fc6df230d
permissions -rw-r--r--
Creation of error pages 404, 403, 500

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)