@@ -487,6 +487,79 @@ Week 7 - Django
487487
488488**Date **: Feb. 19, 2013
489489
490+ In this class we'll dive a bit further into Django. We'll take the
491+ specifications from week 6 and the models we created from them to set up a
492+ simple application. Along the way we'll learn a bit more about the Django
493+ admin, generic views, and templates.
494+
495+ We'll also discuss extending the functionality of our application using
496+ existing Django **apps **. We'll see how these add-ons can help us to solve
497+ common problems like user registration and database schema management.
498+
499+ Finally, we'll discuss some of the strengths and weaknesses of Django. What
500+ makes it a good choice for some projects but not for others.
501+
502+ Our assignment for the week will be to enhance the application we build in
503+ class with some additional functionality.
504+
505+ Reading
506+ *******
507+
508+ * `Using Django <https://docs.djangoproject.com/en/1.4/topics/ >`_ - far more
509+ in-depth information about core topics in Django. Pay attention specifically
510+ to the following topics (you'll want to follow links in these documents):
511+
512+ * `Models <https://docs.djangoproject.com/en/1.4/topics/db/models/ >`_ -
513+ details of the django modelling system. How to represent data for,
514+ relationships between and the presentation of your objects.
515+
516+ * `Queries <https://docs.djangoproject.com/en/1.4/topics/db/queries/ >`_ -
517+ basic information about the Django ORM and how to use it to create,
518+ retrieve, update and delete objects.
519+
520+ * `Working with Forms
521+ <https://docs.djangoproject.com/en/1.4/topics/forms/> `_ - how to create,
522+ display, and process forms in Django, including forms that are associated
523+ with a given model.
524+
525+ * `The Django Template Language
526+ <https://docs.djangoproject.com/en/1.4/topics/templates/> `_ - learn
527+ template basics like variables, filters, tags and blocks, and learn about
528+ template inheritance.
529+
530+ * `Class-based Generic Views
531+ <https://docs.djangoproject.com/en/1.4/topics/class-based-views/> `_ - an
532+ introduction to the simplest way to present your objects to your adoring
533+ public.
534+
535+ * `Testing Django Applications
536+ <https://docs.djangoproject.com/en/1.4/topics/testing/> `_ - learn
537+ different approaches to testing Django applications, including unit
538+ testing and doctests.
539+
540+ Before Class
541+ ************
542+
543+ We'll be adding a new bit of functionality to our app, and we'll do this not
544+ by developing it ourselves, but by *integrating * an existing add-on. Before
545+ class begins, please install `django-south
546+ <http://south.readthedocs.org/en/0.7.6> `_ and `django-registration
547+ <http://docs.b-list.org/django-registration/0.8/> `_ into your Django
548+ virtualenv.
549+
550+ Reference
551+ *********
552+
553+ * `SQLAlchemy and You <http://lucumr.pocoo.org/2011/7/19/sqlachemy-and-you/ >`_
554+ - A really in-depth look at the differences between the Django ORM and the
555+ reigning king of Python database integration, SQLAlchemy.
556+
557+ * `About Django from the Pyramid Guy
558+ <http://www.djangocon.us/schedule/presentations/22/> `_ - a talk given at
559+ DjangoCon 2012 by Chris McDonough, one of the driving forces behind the
560+ Pyramid framework. Also available in `video form
561+ <http://www.youtube.com/watch?v=eN7h6ZbzMy0> `_.
562+
490563Assignment
491564**********
492565
0 commit comments