My Python & Django Web Development adventure brought me to daily use of a very nice set of tools. As 2010 ends and I am slowing down on Web Development to concentrate on Systems & Network Administration, it's the perfect time to share my full Web Development stack. It somehow reflects my OO Development background. They might take some time to learn, but they are real productivity boosters.
Programming Language: Python
A programming language you definitely want to look into if you haven't already.
Web Framework: Django
For building highly customizable Web Apps.
Compass: a stylesheet ...
Python2.6 is the default Python version on Ubuntu 9.04. Now you may still want to run your Django websites with Python2.5. A nice way to do this is by creating virtual environments to handle $PYTHONPATH and avoid conflicts among different versions. Such a tool already exists: Virtualenvwrapper.
First, to install Virtualenvwrapper, we will need easy_install:
$ sudo apt-get install python-setuptools $ sudo easy_install virtualenv $ sudo easy_install virtualenvwrapper $ mkdir ~/.virtualenvs
We just need to add the following lines to .bashrc.
export WORKON_HOME=$HOME/.virtualenvs source /usr/local/bin/virtualenvwrapper_bashrc
And run it.
$ source .bashrc
We then create a virtual environment ...
It's been a while Linux is my main operating system. I occasionally use Windows on my Asus EEE PC netbook and under Virtualbox to play poker. But today I am back under Windows with full hardware power needs.
My summer holidays in Japan are finished and I came back with a compact, ultra-lightweight, HD camcorder, a canon Ivis HF20 full of summer holiday movies. I chose Pinnacle Studio 12 Ultimate to edit my AVCHD videos and my computer is now pushed to its limits to make high-definition movies.
Windows hasn't changed much since I left it and the ...
Django 1.1 is out with a few changes in my Django 1.02 code required. You should refer to the Django 1.1 release notes for full details.
Here are some noticeable changes:
- The admin views urls must be changed as followed:
- The SetRemoteAddrFromForwardedFor middleware no longer exists.
I am also using django-localeurl, a middleware that allows to specify the language of a page in the URL. It had to be updated from release 1.3 to svn trunk due to Django 1.1 urlresolvers changes. (Issue ...