virtualenv/web/res/patch/piston.diff
author cavaliet
Thu, 07 Jun 2012 17:19:40 +0200
changeset 25 262fcc5feb52
parent 16 e37a29d23c86
permissions -rw-r--r--
avoid img bug in template
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
diff -r 278:c4b2d21db51a piston/models.py
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
@@ -118 +118 @@
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    timestamp = models.IntegerField()
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    is_approved = models.BooleanField(default=False)
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
-   user = models.ForeignKey(User, null=True, blank=True, related_name='tokens')
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
+   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
e37a29d23c86 First version of tralalere platform
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    consumer = models.ForeignKey(Consumer)