virtualenv/web/res/patch/piston.diff
author cavaliet
Thu, 14 Apr 2011 17:39:36 +0200
changeset 57 795f01224eef
parent 56 125fc6df230d
permissions -rw-r--r--
changes after social_auth integration, new way to create the virtualenv and update django to 1.3. It means remove jogging, change openid_consumer to django-openid-consumer, set the good lxml version for windows.

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)