The Ultimate Beginner's Guide to Django 1.11
4.7 (1,529 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6,483 students enrolled

The Ultimate Beginner's Guide to Django 1.11

Learn how to make and publish websites with Django and Python. We'll make three complete apps and publish one online.
4.7 (1,529 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6,483 students enrolled
Created by Nick Walter
Last updated 9/2019
English
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9 hours on-demand video
  • 5 articles
  • 4 downloadable resources
  • 7 coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Create Django websites that work with a database.
  • Publish a website on the internet.
  • Understand Django basics. Function and Class Based Views, URL routing, Models, Gunicorn and much more!
Course content
Expand all 83 lectures 09:01:26
+ Welcome!
1 lecture 06:20

Going over what we'll learn and how to get the most out of this course.

Preview 06:20
+ Python Refresher
10 lectures 49:57
Your Turn! Challenge - Variables, Strings, Ints and Print Exercise
1 question
If Statements and Comments
06:35
Your Turn! Challenge - If Statements and Comments Exercise
1 question
Functions
06:19
Your Turn! Challenge - Functions Exercise
1 question
Lists
05:37
Your Turn! Challenge - Lists Exercise
1 question
Loops
05:52
Your Turn! Challenge - Loops Exercise
1 question
Dictionaries
04:07
Your Turn! Challenge - Dictionaries Exercise
1 question
Classes
09:51
Your Turn! Challenge - Classes Exercise
1 question
Outro
01:02
+ Site #1 - Pig Latin Translator
15 lectures 01:24:39

Project Kickoff for the Pig Latin Translator. This section is all about learning the basics of Django.

Preview 01:18

Using Pip3, we'll install Django.

Preview 03:34

From the terminal, we'll create our new Django project.

Preview 08:24

Now that our project has been created, let's talk about the auto generated files Django created for us.

Preview 07:15

One of the most important concepts in Django. How to route traffic with URL dispatching.

URLs
10:06

We'll bring HTML into our project to enhance our web page.

HTML and Django
09:55

We'll create a basic form to submit text to be translated.

Forms
04:49

We cover how to send and process text from a textfield.

Sending Data
10:29

The dirty work of translation! But pigs love dirty work ;)

Pig Latin Translation
11:44

We'll show the Pig Latin translation in our HTML file.

View Dictionary
08:58

Time to test your learning! Go add an about page to your site!

Your Turn! Challenge - About Page
02:30

I'll show you how I added an about page. *Only watch if you have completed the challenge already*

Your Turn! Solution - About Page
04:19

Wrapping things up. Time to start a blog!

Outro
01:11
PigLatin Source Code
00:03
Django Cheat Sheet
00:04
+ Site #2 - Personal Blog
22 lectures 02:21:55
Intro
00:56
Sketch
02:36
Virtualenv
06:13
Apps - What They Are and Creating Our First
04:48
App Views
07:50
Models
13:33
Admin
10:45
Model Methods
06:51
Working with Images
06:13
RegEx
09:06
Post Details
07:58
Bootstrap and Design
08:01
Adding a NavBar
09:50
Home Page Design
08:26
Static Images
06:36
Cleanup
04:59
DISQUS - Adding Comments
09:06
Your Turn! Challenge - Sitepages Apps
03:15
Your Turn! Solutions - Sitepages Apps
06:40
Outro
01:19
Blog Source Code
00:03
+ Publishing a Website on a VPS (Virtual Private Server)
9 lectures 54:48
Intro
01:21
Vultr
06:44
Security on Your Server
07:45
Pip and Virtualenv
04:49
Uploading Our Code
06:32
Gunicorn
10:48
Nginx
10:31
Outro
01:14
+ Site #3 - Reddit Clone
25 lectures 03:23:29
Intro
01:03
Sketch
02:42
Project Setup
07:08
Sign Up View
07:51
POST vs. GET
06:19
Creating Users
08:36
Username Uniqueness
06:32
Login View
10:06
URL Include
08:15
Posts App
07:53
Next Redirect
09:44
Creating the Post Model
13:20
Saving a Post Object
08:27
Homepage URL
08:17
Homepage View
11:24
Voting
17:11
Extending Templates
08:19
Checking If the User is Logged In
09:10
Logout
11:10
Buttons and Polish
10:12
Homepage Cleanup
11:41
Your Turn! Challenge - Post by User
01:56
Your Turn! Solution - Post by User
14:55
Outro
01:15
Source Code for Reddit Clone
00:03
Requirements
  • Some background in any programming language. Python, Swift, Ruby, Java, JavaScript, C, anything really :)
Description

Welcome to The Ultimate Beginner's Guide to Django. If you're brand new to Django, or have gotten lost in online tutorials, this is the course for you. I'll take you from being an absolute beginner to actually creating three complete Django websites. We'll also cover how to publish your sites.

This course starts with a Python Refresher. Django is a web framework written in Python. If you're new to Python, or just a bit rusty, this section will get you up to speed as quickly as possible. You don't need to be a Python expert to make Django website, but a base knowledge is needed. In the Python Refresher I'll teach you a new concept, show you some examples, then present you with a coding challenge to make sure you've understood that concept.

The three websites we'll make are as follows:

  1. Pig Latin Translator - A simple two-page website that turns any text into Pig Latin! Creating this website will teach you the fundamentals of Django.
  2. Your Personal Blog - Don't use WordPress or Tumblr to share your thoughts; make your own blog! This website will teach you how to work with a database and data models. We'll also cover how to work with both static and user uploaded images!
  3. Reddit Clone - This is the most advanced and complicated website we'll make in the course. With a big focus on creating user accounts and authentication, this website will teach you the more advanced topics that this course covers.

Also included in the course is a section showing you how to deploy your blog to a server and publish it for the world to see! I'll then take you step by step through working with a Ubuntu Linux server that will run your Django code 24/7.

What are the key topics covered in this course?

  • URL Dispatching
  • Function and Class Based Views (FBV v. CBV)
  • How to start a new project
  • How to create apps within a project and why they're important
  • Running your project in a virtual environment using Virtualenv
  • Publishing your site on a VPS (Virtual Private Server) running Ubuntu Linux
  • Working with templates
  • Debugging
  • Gunicorn
  • Handling GET and POST requests
  • Working with a Database and Models
  • Admin Interface
  • Static and user uploaded images
  • Authentication and User accounts

Feel free to take a free preview of this course to see if it's a good fit for you. Remember, you have a 30-day money-back guarantee with this course, so if for any reason you don't like it, you can get a full refund. There's no reason not to sign up!

Thanks for checking out The Ultimate Beginner's Guide to Django. See you on the inside!

Who this course is for:
  • This course is for people wanting to learn the basics of Django.