Treehouse - Django Basics
English | Size: 460.53 MB (482,905,756 Bytes)
When it comes to Python web frameworks, the elephant (pony?) in the room is Django. Let's explore this framework and build the prototype of an e-learning site. We'll look into Django's admin, ORM, migrations, and template system. In the end, you'll have a project you can use to explore even more of the Django world.
What you'll learn
Django's project and app structure
Django's ORM and migrations
★ Say Hello to Django
Before we can build anything, we need to get Django installed, start our project, and learn some key concepts.
★ What a View!
With Django installed and a project started, we'll dive into views, URLs, and how to start an app.
★ Model Administration
We want to be able to hold data in our application so we need to create at least one model. And once we have a model, we're going to want to be able to create instances of it. Django's ORM and Admin to the rescue!
★ Django Templates
No application is complete without some sort of user-facing interface. Let's see how to add and use HTML templates in our Django projects. We'll also explore using CSS assets in our project.
★ Final Details
Our app could use another view and a bit more information for each step. We can add those and finally get some things linked up with a handy new tag.
★ Test Time
Good applications work. Great applications work and have tests to prove it. Let's see about testing our models, views, urls, and templates.
Kenneth Love Besides teaching Python at Treehouse, Kenneth Love is a husband & father. He created a few popular Python libraries, worked at most levels of the web stack, & was the Creative Director of a newspaper. He likes board games, whiskey, activism, & dry humor.
Run Time: 237 min
Release Date: Up-to-date as of 8/13/2016
--- File Information ---
File Name: 0101 Django.mp4
Duration (hh:mm:ss): 1:02.662
File Size (in bytes): 11,332,980
--- Container Information ---
Base Type: Undetermined MP4 (.MP4) file
--- Video Information ---
Video Codec Name: H.264/MPEG-4 AVC
Video Duration: 1:02.662
frame Width (pixels): 1280
frame Height (pixels): 720
Pixel Aspect Ratio:
Display Aspect Ratio: 1.778
frames Per Second: 29.971
Video Bitrate (kbps): 1356
--- Audio Information ---
Audio Codec: mp4a: MPEG-4 AAC LC
Audio Sample Rate: 48000 Hz
Audio BitRate Type:
Audio Channels 2
Audio Bitrate(kbps): 90