virtualenv/web/res/patch/piston.diff
author verrierj
Wed, 19 Oct 2011 11:57:09 +0200
changeset 205 49c9890dce4a
parent 56 125fc6df230d
permissions -rw-r--r--
Fixed bug when displaying annotations from iri files in search results + thread in indexation

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)