Learn Django by Building a Blog

preview_player
Показать описание
Learn Django by building a blog.

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

[Source Code]

[Django Documentation]

[Facebook]

[TimeStamps]

00:00:00 Introduction
00:00:40 Prerequisites
00:01:53 What is Django?
00:03:11 Django Project Structure
00:03:56 Setting up the Development Environment
00:06:06 Setting up the Project
00:09:30 Create a Django Bare-bones Project
00:11:04 Create a Django Bare-bones App
00:13:00 Running the App on Python's Built in Server
00:13:24 Add Data to the Database Through the Admin Panel
00:14:05 Building a Database Model

00:22:41 Classed Based Generic Views
00:24:25 URL Patterns
00:27:40 Creating Templates
00:29:04 Template Tags

[Subscribe for More Django Tutorials]
#python, #django, #build a blog,
Рекомендации по теме
Комментарии
Автор

I have seldom seen someone making such good tutorials. Awesome. Thanks a lot.

Zuk
Автор

Legend thanks for this really easy to follow

ratchetrussell
Автор

What a great explanation. Hopely that you can finish this tutorials. Many thanks.

jayhu
Автор

Good video to get something up quickly but for me to learn I need to know why things are done and what they do, this is not detailed enough for me to learn. It did get me a quick blog setup though so thanks for that :)

DrHappybone
Автор

00:31:35 why u add post_list?
{% for post in post_list%}
in my blog my post are show on the Screen .
Pls help me

RohitKushwaha-wnrf
Автор

For anyone having trouble with pip, it is included by default with python3 but is accessed using pip3 ex: pip3 --version

Willcode
Автор

hello sir, i have the video but when i press read more button to read full post, is not working

saahndongransom
Автор

hey man, thanks for posting. can you make a tutorial on how to migrate to a server?

gwulfwud
Автор

Thanks for the good video. I am new to Django and I need some help. Here is the portion of code I have within models.py;

class Post(models.Model):
title = models.CharField(max_length=200, unique=True)
slug = models.SlugField(max_length=200, unique=True)
author = models.ForeignKey(User, on_delete=models.CASCADE, related_name='blog_posts')
updated_on =
content = models.TextField()
created_on =
status = models.IntegerField(choices=STATUS, default=0)

class Meta:
ordering = [' -created_on']

def __str__(self):
return self.title


At 19:00, I got an error message on the Mac terminal;


SystemCheckError: System check identified some issues:

ERRORS:
blog.Post: (models.E015) 'ordering' refers to the nonexistent field, related field, or lookup ' -created_on'.

jessehahka
Автор

well explained....but I'm not able to login to admin page....created superuser and authenticated too in shell but when I log in to admin it gives site can't be reached error.. please help.

sahilagichani
Автор

You talk too slow and type too fast. :-)
What a combination.

abdullahatif