| author | ymh <ymh.work@gmail.com> |
| Fri, 21 Sep 2012 11:13:11 +0900 | |
| changeset 17 | f8c613e43ebd |
| parent 1 | 08f6e99af174 |
| 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)