virtualenv/web/res/patch/piston.diff
author cavaliet
Thu, 12 May 2011 18:18:37 +0200
changeset 106 2affc8a44dfb
parent 56 125fc6df230d
permissions -rw-r--r--
Clean static_url management, add icons and clean settings.py and config.py.tmpl management with the static urls.

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)