virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Mon, 15 Oct 2012 23:48:01 +0200
changeset 854 e4be64dd42af
parent 56 125fc6df230d
permissions -rw-r--r--
correct admin. Do not inline the profile editing form when adding a new User

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)