+class Scriptlet(models.Model):
+ name = models.CharField(max_length=64, primary_key=True)
+ code = models.TextField()
+
+ # TODO: add this later and remap code property to this
+ # code_min = models.TextField()
+
+ def __unicode__(self):
+ return _(u'javascript')+u':'+self.name