Logo

Code Fellows

Navigation

  • index
  • Python 401 2.1 documentation »

Wednesday¶

Objectives¶

  • Investigate Django’s Class-Based Views (CBV) and how they work
  • Begin implementing your own forms into your Django Imager app
  • Learn how text can be handled as a tree with the Trie Tree
  • Begin to think about our final projects

Readings¶

  • Trie Tree (Wikipedia)

  • Trie Trees

  • Create a Web Server and an Amazon RDS Database

  • Setting up Django with Postgres, Nginx, and Gunicorn on Ubuntu 14.04

  • Screencasts about Django Class-Based Views:
    • Part 1
    • Part 2
    • Part 3

Review¶

Concepts¶

  • Deep Dive into Class-Based Views
    • The DetailView
    • CBV dispatch()
    • The get_object method
    • A Little More About get_context_data()
    • The Next Step in the Process
    • render_to_response
    • A Few Final Notes
  • Trie
    • Definition
    • Motivation
    • Operations
  • Amazon RDS and Deployment Prep
    • Provision an AWS RDS Instance with PostgreSQL
    • Prepare settings.py for Deployment
    • Prepare EC2 Instance to pull and start app

Demo¶

  • Setting up EC2 and RDS to communicate with each-other

Assignments¶

  • Implement a Trie in Python
  • Deploy the Imager app to AWS
  • Django Imager: Create Views to Edit Models
  • Django Imager: Complete Front-End (Due Friday Week 8)
  • Technical Blog Post: Draft Your Post (Due Friday)
  • Today I learned...

Table Of Contents

  • Wednesday
    • Objectives
    • Readings
    • Review
    • Concepts
    • Demo
    • Assignments

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • Python 401 2.1 documentation »
© Copyright 2014-2016, Cris Ewing, Nicholas Hunt-Walker. Created using Sphinx 1.3.5.