sciyoshi

Latest Entries

Django + ExtJS

Posted on March 1st, 2008 at 2:18 PM

James 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 ...

Read full entry and comments

Introduction

Posted on February 29th, 2008 at 10:06 PM

I 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.

Read full entry and comments