Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1013 Bytes

File metadata and controls

34 lines (24 loc) · 1013 Bytes

Django tutorial

Getting started

  1. Log into Windows on a lab computer

  2. Start Eclipse:

     Start > All Programs > eclipse
    
  3. Create a workspace on the C: drive for your Python projects:

     File > Switch Workspace > Other...
     Workspace: "C:\Users\<your username>\PythonWorkspace"
    
  4. Configure the Python interpreter:

     Window > Preferences > PyDev > Interpreter - Python > Auto Config > OK > OK
    
  5. Close the Welcome screen

Slides

http://goo.gl/eeXWc8

Notes

  • The Django web server is set to --noreload by default .This means you’ll have to restart it whenever you change your code unless you change the configuration (ask us).
  • If you want to keep the code that you write during the practical then you’ll need to copy your workspace onto your network drive at the end

Todo

  • Move all data modelling to Practical 1 to work around lack of migrations in Django 1.5
  • Update Django, PyDev (and Python?) versions