The Ultimate Beginner's Guide to Django
4.6 (641 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,051 students enrolled
Wishlisted Wishlist

Please confirm that you want to add The Ultimate Beginner's Guide to Django to your Wishlist.

Add to Wishlist

The Ultimate Beginner's Guide to Django

Learn how to make and publish websites with Django and Python. We'll make 3 complete apps and publish one online.
4.6 (641 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,051 students enrolled
Created by Nick Walter
Last updated 6/2017
English
English [Auto-generated]
Current price: $10 Original price: $200 Discount: 95% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 9 hours on-demand video
  • 4 Articles
  • 3 Supplemental Resources
  • 7 Coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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!
View Curriculum
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 absolute beginner to creating 3 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 an interactive coding challenge to make sure you've understood.

The 3 website 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 in the course.

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 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 money back guarantee with this course so if for any reason you don't like it, you can get your money back. 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 is the target audience?
  • This course is for people wanting to learn the basics of Django.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
82 Lectures
09:00:31
+
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
14 Lectures 01:23:57

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 02:56

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
+
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
+
Bonus
1 Lecture 00:05
Bonus
00:05
About the Instructor
Nick Walter
4.7 Average rating
6,765 Reviews
56,434 Students
20 Courses
Mobile Developer for iOS and Django Web Developer

I'm Nick Walter, an iOS developer that has been focused on mobile app design and creation for over 3 years. My involvement in the iOS community started off with a bang, and in 2013 I was one of 25 students worldwide to be invited to Apple's "Cocoa Camp." Within my community, I am also co-president of an Apple developer group called "Cocoa Heads."

I've always had an itch to make things, but growing up in a small town I had limited access to programming resources. This frustration drove my early interest in online education. After experimenting with various companies, learning styles, and teaching processes, I've adopted the best strategies and used them in my courses. My experience as an online student has directly influenced my teaching style, and I am now proud to help students all over the world with their online learning goals.

Since the announcement of the new Swift programming language by Apple, I have buried myself in the Apple documentation and any online resource that is available. In my first Swift course, I provide students with a detailed explanation of the topics and skills needed to learn Swift, an overview of the basic features of the new language, and get you started to begin building your first products.

Prior to teaching the internet's first course on Swift, I have created 5 iOS apps from scratch that are currently live in the App Store and being used by thousands of users worldwide. Using my experience launching my own apps, I'll walk you through the shortcuts that can save you time and frustration from having to teach yourself.