You are not logged in.

Change Language:

Profile for icu222much

Name icu222much
Email Address icu222much@hotmail.com
AvatarUsers avatar
Posts2
  • Python Code In Templates
    Board » Django » Templates
    I am new to Django and Python, so I'd greatly appreciate it if answers are explained in detail.

    I have created myself a simple 5 page website using Django's template system. In my 'Template' folder, I have 6 files (1 file as my base, and 5 other files that are the content on my 5 pages). Within these pages, I would like to add a simple Python code such as incrementing a variable every time the page is accessed.

    I am wondering how you can include Python coding within a Django template page?
  • Installing Django on XP
    Board » Getting Started » Django Installation
    I am trying to install Django on XP. I am following the steps on this page (http://www.djangobook.com/en/2.0/chapter02/). I have already downloaded and installed Python 2.6. I have downloaded Django 1.0.2 and unzipped it to my desktop.

    The next step mentioned on the guide was to " start up a command shell with administrator privileges and run the following command from within the directory whose name starts with Django-:
    python setup.py install
    "

    I do not understand that step. Where do I find my command shell? Would that be Command Promt, or is that my Start-->Run feature?


Powered by Sphene Community Tools