virtualenv/web/res/patch/piston.diff
author rougeronj
Wed, 19 Sep 2012 17:01:18 +0200
changeset 788 7413a50c9666
parent 56 125fc6df230d
permissions -rw-r--r--
research field modification to avoid the word "recherche" to remain in the field while clicking on it

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)