Oct. 31 @ 9:45 a.m. 2007
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 :)
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
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
I've heard nothing but horror stories regarding Django on Dreamhost. Maybe look at WebFaction?
Also, in your comment add view, do a check like:
if request.POST['comment'] not '':
update_db
Etc. Yours allows blank comments to pass ;-)
testing blank comment checker
time test
Add a comment: