virtualenv/web/res/patch/piston.diff
author cavaliet
Mon, 07 Mar 2011 18:50:01 +0100
branchmodal_update
changeset 37 3586af4092f3
parent 22 03d02cf0bea7
child 56 125fc6df230d
permissions -rw-r--r--
update projectscontents.js to avoid reload on modal resize.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     1
diff -r 278:c4b2d21db51a piston/models.py
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     2
@@ -118 +118 @@
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     3
    timestamp = models.IntegerField()
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     4
    is_approved = models.BooleanField(default=False)
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     5
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     6
-   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     7
+   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
03d02cf0bea7 Added text API, test Clients and Testcases
wakimd
parents:
diff changeset
     8
    consumer = models.ForeignKey(Consumer)