Use django.contrib.staticfiles to manage static file. Reorganize static files in ldt folder.
DO NOT forget to do command line ./manage.py collectstatic to gather static media into the web/static folder.
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)