Creating a Django Web App

From TRCCompSci - AQA Computer Science
Revision as of 19:37, 10 April 2019 by Admin (talk | contribs) (Created page with "=Setup - Visual Studio= Create a new project in Visual Studio, look in the python section and Django: File:Vswebapp.png On your own machines, this will install all of th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setup - Visual Studio

Create a new project in Visual Studio, look in the python section and Django:

Vswebapp.png

On your own machines, this will install all of the appropriate packages into your python installation if you select 'Install into Python'. However in College will will need to do a bit more, and instead choose 'install into virtual environment':

Vswebapp1.png

In College we will need see this window:

Vswebapp2.png

You can untick the install packages option, because this will fail on college computers.

Now, find the folder within your project folder:

Vswebapp3.png

Now download this zip file and extract its contents into this folder:

Vswebapp6.png

Now click start in Visual Studio, you should see something like this:

Vswebapp4.png

It should automatically open a browser, it should already point to your web app:

Vswebapp5.png