Tags » Django

Django Forms, Choices and Caching

Some of the drop down menus on my forms require a bunch of database hits. To speed things up and reduce the load on my database, I use Django’s low level caching to hold those menus. 184 more words


Good to know before going to django class based views

When we write a function based views in django the control flow is very easy to visualize. We associate the function with a url in urls.py and django url resolver calls the function when the url is matched. 634 more words


GO SEE: Django Unchained

Three reasons to see Django Unchained from Quentin Tarantino

1. This is a violent film, but..
Ok, duh, it’s a Tarantino movie but let’s just say that he’s managed to bring the art of blood-gushing to – euh – new heights, notably in the final showdown scene where one can’t help but feel sorry for the poor black help that will be forced to clean up the sordid mess. 345 more words

Coming Soon...

I’ve been writing since I was 17.  That’s well over a million years ago… possibly.  I started out writing movie screenplays, then songs, then comedy sketches, then sitcoms and by this point I have had a go at writing pretty much everything there is to write. 443 more words


Working with Django in virtual environment


You need to install:
1. pip
2. virtualenv

  • To install pip, type in terminal:
sudo apt-get install python-pip

manage.py runserver

In case you forget you need to run a little webserver to test Django development.

You can do so from commandlines like Windows PowerShell or Bash, which are options easily changed in GitHub.  9 more words


1st post

Hello world, are you read to read some awesome stuff.