mikeckennedy / python-for-entrepreneurs-course-demos

Contains all the "handout" materials for Talk Python's Python for Entrepreneurs course. This includes notes and the final version of the website code.
https://training.talkpython.fm/courses/explore_entrepreneurs/python-for-entrepreneurs-build-and-launch-your-online-business
MIT License
286 stars 141 forks source link

missing file: 4-applied-web/blue_yellow_app/templates/mytemplate.pt #6

Closed stevepiercy closed 7 years ago

stevepiercy commented 7 years ago

In the video Mapping routes to controller actions demo, there is a file present, but it is missing in the repository. As a result it is hard to follow along. I understand it is deleted toward the end, but it would be nice to follow along.

4-applied-web/blue_yellow_app/templates/mytemplate.pt

danshorstein commented 7 years ago

I think you can find that file here: https://github.com/mikeckennedy/python-for-entrepreneurs-course-demos/tree/master/2-web-starter/blue_yellow_app/blue_yellow_app/templates

stevepiercy commented 7 years ago

Yeah, eventually I just copied the whole thing over. See my other comment about my experience.

mikeckennedy commented 7 years ago

Hi Steve,

I think what is happening here is a misinterpretation of what this folder in the github repo represents. Let me know what you think.

The folder entitled 4-applied-web is the final state of the code after chapter 4. Not the starter code for this chapter. That starter code for chapter 4 is chapter 2. The final code for chapter 4 is what is in that part of GitHub.

As you can see in this video part way through this chapter (so before we get to the end which this is suppose to represent), we have renamed and reorganized the templates as follows:

screen shot 2017-03-06 at 3 50 59 pm

Here's that video:

https://training.talkpython.fm/player/course/python-for-entrepreneurs-build-and-launch-your-online-business/lecture/50822

So it is entirely on purpose that mytemplate.pt is missing because we deleted it. That's why you found it in chapter 2.

Make sense?

stevepiercy commented 7 years ago

Yes, thanks. Eventually I understood its purpose, but see my follow up comment about the experience, and suggestion for your consideration.