mmckay99 / tango_with_django_2_code

Model solution for Tango with Django 2, version 2020-01a.

Home Page:https://www.tangowithdjango.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tango with Django 2 Codebase

This is a model solution for the Tango with Django 2 book. Included are model solutions to all of the exercises included through each chapter. Screenshots that appear in the book were taken from a browser when executing this code.

If you notice something that doesn't work -- or you think there's a better way to solve something -- it would be great to hear from you. Add an issue to this repository, and myself of Leif will get back to you!

Everything is working as of January 10, 2020.

David Maxwell (maxwelld90 at acm dot org)

Note: if you are a student looking for a quick way to complete your Rango assignment, you should be aware that there are a few little things in here which, if you blindly copy and paste, will demonstrate that you did just that. You have been warned. It's always better to spend your time actually learning about what everything does -- rather than blindly copying and pasting someone else's work, and flogging it off as your own. Have fun!

How to Use this Repository

It's easy to use this repository. We've split our implementations of each chapter into a separate branch. If something needs to be changed later, we can simply update a specific branch -- rather than getting stuck and being unable to undo an old commit.

You can checkout the appropriate branch for the chapter you're interested in. Let's say you want to see what our sample solution looked like at the end of Chapter 5.

  1. Make a copy of the repository on your device with $ git clone https://github.com/maxwelld90/tango_with_django_2_code.
  2. Change into the directory that you've just created with $ cd tango_with_django_2_code.
  3. Run the checkout command to switch your workspace to the correct branch with $ git checkout chapter5.

End of Chapter Tests

We've also implemented some unit tests that can be run at the end of each chapter. We've currently got tests up to the end of Chapter 10. If there is demand for further chapters to be covered, let us know!

Test modules are located in the master branch, progress_tests directory. In order to run these tests, check out the Tango with Django book. Section 2.6 details exactly what you need to do. If you are stuck, reach out to us with a new issue.

About

Model solution for Tango with Django 2, version 2020-01a.

https://www.tangowithdjango.com

License:MIT License


Languages

Language:Python 50.7%Language:HTML 46.2%Language:JavaScript 3.1%