collecting dust

paul mostardi

Django OldForms Automatic Form Generation

May 17, 2007

As of May 2007 Django NewForms doesn't yet deal with File and Image Fields properly. The NewForms library doesn't validate or generate HTML forms for File uploads or similarly Image uploads.

In the meantime OldForms library can, however the OldForms lack the handy feature of outputting the entire form as HTML into your template. Instead of the old way of creating a variable for each element in your form in your template, essentially coding the entire form by hand, Newforms can print out the entire form as HTML formatted string directly to your template with the methods form.as_p or ...

continued

Adventures in Vermicomposting

Apr 24, 2007

Justin and I inherited a worm composter from the previous tenants of our house. Since we moved in the middle of February until now, its been too cold to really take stock of our worms. However with the warm weather upon us, its now time to belly up to the bar and partake in the exciting world of vermiculture.

Future Fertilizer Vermicomposter

The Worm Wigwam composter we have is like a large barrel, split half way up by a ...

continued

N800 as Django Development Server

Apr 05, 2007

Django is a web application framework written in Python. Similar to Ruby on Rails, it lets you build powerful websites quickly and with minimal code. So why would you want to get Django running on the Nokia N800, you ask? Good question.

  1. The n800 is a low power, quiet, always on development environment, at least for Python/Django it is.
  2. Django provides the means to create web-based applications that run locally for Maemo without the overhead of setting up the development Scratchbox or learning GTK
  3. Its just cool to have a server running off of this thing.
  4. ...

    continued

First Entry

Mar 29, 2007

Ok so the first entry on my shiny new Django powered blog. Took a bit of elbow grease to get it up and running on Dreamhost as their stock account setup isn't exactly compatible with Django. Developing a Django app directly on the Dreamhost server is torturously slow. When Django throws an error message it takes quite a while for the server to process it and I was getting a whole lot of 500 Internal Server Errors that would last up to an hour. I managed to do most of my development off of my Nokia n800 internet tablet. I ...

continued