Skip to content
Permalink
Branch: master
Commits on Apr 28, 2018
  1. This wasn't working. The error was could not convert Car to JSON.

    mikeckennedy committed Apr 28, 2018
    The reason the adapter / renderer didn't work was when you set
    the json_body directly, it doesn't use the renderer. Thank you for
    finding this @turing4ever
Commits on Apr 27, 2018
  1. Merge pull request #6 from turing4ever/patch-2

    mikeckennedy committed Apr 27, 2018
    Keep the API behavior consistent
Commits on Apr 26, 2018
  1. Removing duplicated checking

    turing4ever committed Apr 26, 2018
    cls.__load_data() already contains checking of __car_data.
  2. Merge pull request #7 from turing4ever/patch-3

    mikeckennedy committed Apr 26, 2018
    Fixing bug (line_data contains integers)
Commits on Apr 23, 2018
  1. Revert "ideas"

    mikeckennedy committed Apr 23, 2018
    This reverts commit 9da3e33.
  2. ideas

    mikeckennedy committed Apr 23, 2018
Commits on Apr 19, 2018
  1. Keep the repository constant within session

    turing4ever committed Apr 19, 2018
    Hi Mike, 
    I have added a couple of lines to keep the Repository constant in two conditions: 
    1. Multiple runs of GET all autos(). 
    If the content keeps the same, it would be easier for those who are playing with the API code to track the changes. The current behavior is that when all_cars() is called it's reloading the dict with new uuids. 
    2. Keep the API behavior the same in responding to different sequence of requests. 
    In your video, you always get the list of all cars before you try out any other requests. However, what if someone is tweaking the code, restarts the server, adds a new car before listing all cars? When I was using postman testing the code, it happened to me and I was quite surprised to see there's only one car returned from the API. The sequence of the request will cause the API to behave differently. 
    
    I know this code is just for demo purpose. But the experience might be smoother if the the API behaves consistently when someone is playing with the code. What do you think?
Commits on Apr 10, 2018
  1. Merge pull request #4 from turing4ever/patch-1

    mikeckennedy committed Apr 10, 2018
    fix typo in layout.pt
  2. fix typo in layout.pt

    turing4ever committed Apr 10, 2018
    There was a ' trailing theme.css which is apparently a typo.
Commits on Jan 24, 2018
Commits on Aug 24, 2017
Commits on Aug 22, 2017
  1. Chapter 13 transcripts.

    mikeckennedy committed Aug 22, 2017
Commits on Aug 21, 2017
  1. updated readme.

    mikeckennedy committed Aug 21, 2017
Commits on Jun 28, 2017
Commits on May 12, 2017
  1. Final nginx settings.

    mikeckennedy committed May 12, 2017
  2. Configured uwsgi

    mikeckennedy committed May 12, 2017
Commits on May 11, 2017
Commits on May 10, 2017
  1. We can create cars!

    mikeckennedy committed May 10, 2017
Older
You can’t perform that action at this time.