Django: Beyond the SQL: Installation
- Beyond the SQL
- Create your models
- Tutorial files
- • RTF tutorial
- For PHP programmers
- Most of the common programming languages today resemble C. Braces are used to mark off blocks of code, such as for functions, loops, and conditional code. And semicolons are used to mark the end of a piece of code. That style of coding gives you a lot of flexibility in how you format your code, but over time standards have emerged; one of those standards is indentation, another is one one line per statement.
- Requirements
- You need Python 2.5 or 2.6, and SQLite 3. Any modern system should have these. If you have Mac OS X Leopard or Snow Leopard, for example, you have it.
- Installation: Install
- http://www.djangoproject.com/download/
- Create a project
- http://docs.djangoproject.com/en/dev/intro/tutorial01/
- Edit settings
- Your project has a file called “settings.py”. You need to change a few things there, mainly the name and location of the database you’re using.