virtualenv/web/res/patch/piston.diff
author cavaliet
Thu, 24 May 2012 16:01:19 +0200
branchmaintenance_0.21
changeset 622 bb21a4023620
parent 56 125fc6df230d
permissions -rw-r--r--
update ldt for maintenance 00.21

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)