Skip to content

Commit

Permalink
updates to workshop slides
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwp committed Sep 27, 2012
1 parent a05a7bf commit b4f60aa
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions workshop.rst
Expand Up @@ -26,6 +26,10 @@ checkout the base repo::







Introduction
============

Expand Down Expand Up @@ -56,6 +60,8 @@ Laptops, tools and working





The Plan
--------

Expand All @@ -68,12 +74,7 @@ The Plan
- first unit tests
- models.py, admin.py

- PART 2: Customising the admin site
- extending the FT
- add a second model: Choice
- more detailed unit tests

- PART 3: the site home page
- PART 2: the site home page
- the Django Test Client
- views.py
- templates
Expand All @@ -88,9 +89,6 @@ The Plan






How we will work
----------------

Expand All @@ -115,6 +113,14 @@ How we will work











PART 1:
=======

Expand All @@ -132,16 +138,13 @@ Now we follow ``tutorial01.rst``

Some notes:

- in the bit where I suggest a ``wget``, you can just ``mv`` the
``functional_test.py`` from where I've put it in the root of the repo into your
``mysite`` directory...

- notes for windows users:
- ``https`` checkout for github
- ``move`` not ``mv``.
- ``django-admin.py startproject mysite`` (note extra .py)
- ``python manage.py runserver 8001``


Extra practice:

- try to use ``element.click()`` to click submit button instead of pressing
Expand All @@ -157,22 +160,17 @@ Extra practice:



PART 2:
=======

Now we follow ``tutorial02.rst``

Simplifications:

- start by using "Pub date", rather than "Date Published"

- similarly, just assert we see a link with "Poll object" on next screen

- never mind unit test for verbose_name



PART 3:


PART 2:
=======

Checkout next part::
Expand Down

0 comments on commit b4f60aa

Please sign in to comment.