new template tag absstatic to have absolute url for static file and avoid using LDT_MEDIA_PREFIX
new absurl template tag can be used instead of template tag url to have absolute url
replacement of all LDT_MEDIA_PREFIX in different templates and views
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)