author | ymh <ymh.work@gmail.com> |
Fri, 01 Feb 2013 17:47:35 +0100 | |
changeset 42 | ac8b747e1275 |
parent 1 | 40d6b5e3dcd7 |
permissions | -rwxr-xr-x |
1
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
1 |
diff -r 278:c4b2d21db51a piston/models.py |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
2 |
@@ -118 +118 @@ |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
3 |
timestamp = models.IntegerField() |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
4 |
is_approved = models.BooleanField(default=False) |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
5 |
|
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
6 |
- user = models.ForeignKey(User, null=True, blank=True, related_name='tokens') |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
7 |
+ user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens') |
40d6b5e3dcd7
First Regards Signés Commit. Caution : ldt is not installed in the virtualenv, we have to copy the ldt folder to the site-packages. Otherwise, it works perfectly.
tc
parents:
diff
changeset
|
8 |
consumer = models.ForeignKey(Consumer) |