Latest Entries
Django + ExtJS
Posted on March 1st, 2008 at 2:18 PMJames Bennett says that people should learn Javascript instead of relying on crutches like RoR's helpers to write it for them. While I agree, I thought it'd be a good exercise (and proof of concept) to see if the helpers could be done without modifying Django's core.
In a custom template tag called extjs.py, we put ...
Introduction
Posted on February 29th, 2008 at 10:06 PMI find that it's always hard to start these things off, but I guess I can find consolation in the fact that nobody will read this.
Here is some code:
class Entry(models.Model):
title = models.CharField(max_length=128)
def __unicode__(self):
return self.title
And this is some more text to finish off the whole shebang.