virtualenv/web/res/patch/piston.diff
author ymh <ymh.work@gmail.com>
Wed, 09 Mar 2011 16:36:20 +0100
changeset 41 0533a05b7113
parent 22 03d02cf0bea7
child 56 125fc6df230d
permissions -rw-r--r--
chang external_src_url definition since it may not match teh definition of a url for URLField. This has no impact omn the db

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='piston_tokens')
+   user = models.ForeignKey(User, null=True, blank=True, related_name='piston_tokens')
    consumer = models.ForeignKey(Consumer)