| author | veltr |
| Fri, 04 Jan 2013 18:13:55 +0100 | |
| changeset 66 | 331e70527d74 |
| parent 6 | 9e29d68d48f1 |
| permissions | -rwxr-xr-x |
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)