Mô tả

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!

Bạn sẽ học được gì

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!

Yêu cầu

  • Some background in any programming language. Python, Swift, Ruby, Java, JavaScript, C, anything really :)

Nội dung khoá học

7 sections

Welcome!

1 lectures
Introduction
06:20

Python Refresher

17 lectures
Intro
00:40
Installing Python
03:33
Variables, Strings, Ints, and Print
06:21
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
Intro
01:18
Installing Django
03:34
Creating a Project
08:24
Project Tour
07:15
URLs
10:06
HTML and Django
09:55
Forms
04:49
Sending Data
10:29
Pig Latin Translation
11:44
View Dictionary
08:58
Your Turn! Challenge - About Page
02:30
Your Turn! Solution - About Page
04:19
Outro
01:11
PigLatin Source Code
00:03
Django Cheat Sheet
00:04

Site #2 - Personal Blog

22 lectures
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
Displaying Posts
06:51
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
Intro
01:21
Vultr
06:44
Security on Your Server
07:45
Pip and Virtualenv
04:49
Uploading Our Code
06:32
Runserver
05:04
Gunicorn
10:48
Nginx
10:31
Outro
01:14

Site #3 - Reddit Clone

25 lectures
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 lectures
Thanks!
00:16

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.