My Site
Categories
Blogs
Useful Links
Thoughts on Django
Written by: Adam Olsen (synic)

Django is a "high-level Python Web framework that encourages rapid development and clean, pragmatic design." So far, I have absolutely no complaints... and much praise.

Going from never using Django to entirely rewriting my blog and converting all the old entries took me only a few days. I only had to write the HTML templates and a little Python code, and Django does the rest for me, including the entire administration panel where I can edit articles, article categories, links and etc.

Initial impressions are this: I can tell that this is going to be one of those things (like VIM) that is going to make me think "why, oh why, didn't I learn this earlier?"

I had a bit of trouble installing it on my Dreamhost account, but nothing that wasn't covered in their wiki (http://wiki.dreamhost.com/index.php/Django). I basically just had to contact support and ask them to configure my site for Python+FCGI. They were quick to respond and I had it working in a few hours from begin to end.

I am VERY pleased at this point :)

vim tip: Django template syntax definition

Searching Google for helpers for Django developers, I found a few things, but the only thing I've actually decided to use is the syntax definition file, which you can find here: http://www.vim.org/scripts/script.php?script_id=1487

File under: Django, Programming
Comments:
From stderr on Oct. 31 @ 6:42 p.m.

I've heard nothing but horror stories regarding Django on Dreamhost. Maybe look at WebFaction?
From on Oct. 31 @ 6:42 p.m.

From stderr on Oct. 31 @ 6:43 p.m.

Also, in your comment add view, do a check like:

if request.POST['comment'] not '':
update_db

Etc. Yours allows blank comments to pass ;-)

From synic on Oct. 31 @ 6:59 p.m.

testing blank comment checker
From synic on Oct. 31 @ 3:40 p.m.

time test

Add a comment:

Name:
Type Vim Here:   (It's a human test)
Email Address:   (optional for reply subscription)
Comment:   
 
Note: If you enter your email address, you will be subscribed to this article and will recieve comment updates via email. This is the only thing your address will be used for. A link will be provided at the end of each email that will allow you to unsubscribe should you need to, or you can go to http://www.vimtips.org/unsubscribe to unsubscribe from any/all updates.