virtualenv/web/res/patch/piston.diff
author verrierj
Fri, 16 Dec 2011 17:19:22 +0100
changeset 292 48d9e8297287
parent 56 125fc6df230d
permissions -rw-r--r--
Disable selects when content is set as public + replace To_protect class by function with setattr

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)