virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Wed, 18 May 2011 19:17:39 +0200
changeset 112 9886ab183b09
parent 56 125fc6df230d
permissions -rw-r--r--
add permalink + corrcetion config with static and media path. update urls

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)