Locked lesson.
About this lesson
Congratulations on completing your first Django project!
Quick reference
Recap and Conclusion
Congratulations! You made it through the course!
When to use
Spend a few moments reflecting on what you just learned.
Instructions
Look over your app...mentally take inventory of the different parts of the app. Think about:
views.py
urls.py
settings.py
templates
static files
django template language
manage.py for commands
Think about how all those files work together to create a website.
Hints & tips
- Congratulations!
- 00:04 Okay, so I think I'm going to call this app done.
- 00:05 So congratulations, you made it through your first Django project, and very cool.
- 00:10 And it's just a basic website, but
- 00:12 I think it really shows us how to use templates of any sort.
- 00:16 So you can basically build any website that comes from a template at this point.
- 00:21 Looking back over our code, we did a lot of stuff in this course.
- 00:25 In the first part of the course we installed all of the tools,
- 00:27 we installed Djangos, set up our virtual environment.
- 00:30 In the second section of the course, we built out our app,
- 00:33 where we created our first Django website.
- 00:36 We modified the URLs, that py file to point towards our new apps, urls.py file.
- 00:41 We added some links, some URLs.
- 00:43 We learned how to use views, how to pass Python type things into our page.
- 00:48 We spent a lot of time looking at the Django template language.
- 00:54 So we could do things like block content for our template files.
- 00:57 We learned how to use Python on a web page, using the Django template language.
- 01:03 We learned how to use filters and tags, and all kinds of cool stuff,
- 01:06 how to pass things with the context dictionary in our views.py file,
- 01:10 how to use external Python programs if we want to.
- 01:12 Then we spent a little bit of time looking at staticfiles,
- 01:16 remember our staticfiles here.
- 01:18 Which allow us to have CSS images, JavaScript, or
- 01:23 anything else from a theme or a template that we want to use.
- 01:28 And we learned how to add those things to our web pages themselves.
- 01:32 For instance, by using our static tags pretty simple, very cool.
- 01:39 Finally in the last section, we learned how to save our code to Git and GitHub,
- 01:44 how to set up a Heroku app, how to modify our local app here by creating
- 01:48 a requirements.txt file, and a Procfile, and making some settings.py.
- 01:53 Simple changes in order to reflect that, and
- 01:55 then pushing our app up to Heroku, dealing with errors.
- 01:59 And finally, creating a domain name and assigning it to our app.
- 02:02 So I hope you enjoyed this course, I had a lot of fun teaching it,
- 02:06 and Django is just so fun.
- 02:07 You can do so many things with it.
- 02:09 And I hope you've seen from taking this course, it's really not as difficult
- 02:13 as some people might think starting out, we've got a lot of stuff going on here.
- 02:18 But as we broke it all down and took it section by section,
- 02:21 it's not overwhelming at all.
- 02:23 There's not much to this, and you can do some really powerful stuff very quickly.
- 02:27 So I hope you continue learning Django, you've got a great foundation.
- 02:32 This is sort of beginner through intermediate,
- 02:35 almost touching on advanced but not quite.
- 02:38 There's still lots of cool stuff to learn with Django.
- 02:42 So I hope you continue learning, and I hope you enjoyed the course.
Lesson notes are only available for subscribers.