Python Django Blog In Less Than 20 Minutes - Blogging website tutorial

preview_player
Показать описание
In this Python Django blog tutorial, I will show you how to set up a very basic blog using Django in less than 20 minutes.

I begin the video with a short introduction of the project, and then I continue by creating a virtual environment we can build the blog in.

Django is a framework based on Python for building web sites and web application. By going through this tutorial, you will learn hos easy and quick you can set up a simple blog using Django.

It's not very fancy, but the point of this video is to learn Django.

I have also written this video as a blog post:

Source code:

Bulma:

My patreon:

#codewithstein #djangoblog #learndjango #djangotutorial
Рекомендации по теме
Комментарии
Автор

You made this look so easy! And I like how you explain things! I’ll have to watch this again when I’m not at work. I used a blog tutorial from a book at from the start it was very hard to understand but slowly I was getting it! With this video it clears up even more and you went through everything in a short amount of time! Thank you!

TheCAG
Автор

This video was great! Simple, clear, short, and it all worked! Thanks!

benlong
Автор

Nothing can get better than this. Thank you so much. I needed this for a shool project.

gamerinyourtown
Автор

Wow, you made that look easy, trying it now.. thank you!

dragonsage
Автор

Thank you for a quick and simple Django tutorial!

brycem
Автор

Thank you, man! I was looking for tutorial like this. I can't express how much grateful am I for this video to you. Subbed and liked!
THANK YOU SOOO MUCH 🙏❤️!

rvft
Автор

Thank you very much Boss for publishing such a beautiful blog video I have subscribed your channel for many more such videos ❤

sharifpy
Автор

Thank you for this very nice tutorial.

franklimmaciel
Автор

thank you very much, this really helped

thuthukandebele
Автор

Time is killing us but you are the person killing the time

nagarajreddy
Автор

Thank you very much for this video.
It really helped me

doricodes
Автор

Is it production ready I mean dosn't require security front/backend dev. Thank is very good and simple.

HeroicKhalid
Автор

god damn for some reason in my urls.py "path" was not imported. I spend half an hour until I figured that out.. my first django tutorial lol. phew, happy I didnt give up.

azegaspa
Автор

may I ask what is the quickest way to access the created website?

moisisu
Автор

nice the only thing that i have to do is make a form for post so u can create post. but overall is Good tutrial

strangereview
Автор

Thanks for the easy lessons!
If I want to create login page for new users and post blogs using that account, what todo?

abishekps
Автор

Hey Stein, thanks for this it is excellent!! How do I add categories to this?

amrino
Автор

great tutorial, everything is well explained, but no matter what i do, i keep getting the "Reverse for 'post_detail' not found. 'post_detail' is not a valid view function or pattern name." error. I ended up copying the whole project page by page, but the error is still there.

edit: sorry, false alert. i wrote a hyphen instead of underscore in urls :D.

thx again for all these amazing tutorials !

Viezieg
Автор

Hi Stein, may I ask you where you learn all this? Also Vue.JS etc?

jorisjansen
Автор

Well you can add slug automatically in the model just by overiding the save method like
from django.utils.text import slugify
from django.db import models

class Post(models.Model):
#your fields
def save(self, *args, **kwargs):
self.slug = slugify(self.title)
super().save(*args, **kwargs)

aditya.