now I put the Django stuff here

django stuff partly from django docs tutorial and other part from tracy
tutorial