Generic basic code with precise understandable documentation to get a django site up and running.
This repository is beginner focused and assumes that there is no prior coding experience. There is a requirement of having python already installed and a command prompt (terminal) working in ubuntu.
This code and information is based on the django 1.6 version. The official documentation can be found at .
The newest and constantly changing django version can be gotten from the .
The code presented in this repo will automatically be created when you create your first project. However we have placed comments throughout the code that will help in determining what the code does and how it should be changed for certain purposes. The file structure in the repo represents the actual file structure created on your computer when you initiate the site.
All you need to do once you have python and django 1.6 installed is type:
django-admin.py startproject TestSite
We decided to go with the name TestSite in this repo, but you can name it whatever you like.
cd TestSite
python manage.py runserver
Open a browser and type in http://127.0.0.1:8000/ (not a link-- copy and paste into browser after running code in terminal).
You have a locally hosted django site.
The main inspiration for this repo came from a blog called Creative Bloq. There is a post created called Get started with Django. It can be found at http://www.creativebloq.com/netmag/get-started-django-7132932. It provides a written step-by-step creation, but there are a few syntax errors and code left out that is addressed and included in this repo.