Тёмный

Build a Blog using Django, Python, and Bootstrap 

Legion Script
Подписаться 4,9 тыс.
Просмотров 11 тыс.
50% 1

In this video we will build a blog using Django, Python, and Bootstrap. We will also add a rich text editor in the Django admin page to allow formatting of the blog posts. We will also use some basic mixins to limit permissions on the delete posts page. By the end of this tutorial, you will have created a complete project using Django.
Since the font got small for the terminal commands, here are the commands ran in the video to migrate changes to the database and run the server, please note that you might need to use python instead of python3 depending on how you installed Python:
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
Code For This Project:
github.com/legionscript/Djang...
Django:
docs.djangoproject.com/en/4.1/
Django Crispy Forms:
django-crispy-forms.readthedo...
Django Bootstrap 5 Crispy Forms Template Pack:
github.com/django-crispy-form...
Django TinyMCE:
django-tinymce.readthedocs.io...
Bootstrap:
getbootstrap.com/docs/5.3/get...
Bootswatch:
bootswatch.com/
Need an intro to Django?
• Django Crash Course
Free Courses on LegionScript.com:
www.legionscript.com/

Наука

Опубликовано:

 

27 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@rogueDukakis
@rogueDukakis Год назад
You are an excellent educator and this is a great tutorial.
@LegionScript
@LegionScript Год назад
Thank you very much!
@albert7439
@albert7439 Год назад
I love your tutorials!!
@LegionScript
@LegionScript Год назад
Thank you so much!!
@codedjango
@codedjango Год назад
Thank you👍👍
@andrewsodyssey5753
@andrewsodyssey5753 Год назад
Nice bro
@inteliconn995
@inteliconn995 Год назад
Thanks!
@user-mq6bd2in1u
@user-mq6bd2in1u Год назад
Thank you for this, really like the style! Could you show how only the blog post creator can view their blog unless the invite others? Also if you could show how to add htmx or alpine to this. =D
@user-pu7nx5ok1h
@user-pu7nx5ok1h 19 дней назад
I have a trouble with moving to logout page, ive written urls and logout.html as in the video, but im getting a 405 error (method is not allowed)
@dispatersdance9691
@dispatersdance9691 5 месяцев назад
How would one implement photos into this for each blog?
@madukapaul5996
@madukapaul5996 Год назад
Also, every user shouldn't see the delete post, it should be restricted to only the users who are author as well, I would appreciate if you do an update to that. Secondly the blog_post page, the Go back button shouldn't go the index page, it should go back to the previous page before that, I think that need a fix up, and I would appreciate if you do that, cos I really really enjoyed your teaching. Please also emphasize more on the like and dislike functionality. Thanks ♥️
@sadict._.7482
@sadict._.7482 Год назад
Bro Add TimeStamps, Love Your Work
@LegionScript
@LegionScript Год назад
Thank you for watching, yeah you are right these longer videos need timestamps. I am going to go back through and add them.
@patcher2944
@patcher2944 11 месяцев назад
Plz make blog api using rest framework
@madukapaul5996
@madukapaul5996 Год назад
I would appreciate, if you explain d like and dislike functionality more.
@madukapaul5996
@madukapaul5996 Год назад
Thanks for this video, it really exposed me to a lot, but I would have loved if you wrote the else statement for (form.is_valid), for the user registration. I would appreciate if I get a link to an upgrade of that, I would also love to contact you. Thanks ♥️
Далее
Python Django Tutorial for Beginners
1:02:36
Просмотров 2,4 млн
Lasagna Soup @Lionfield
00:35
Просмотров 10 млн
Learn Django in 20 Minutes!!
21:25
Просмотров 322 тыс.
Vite Crash Course | Faster Alternative To CRA
16:24
Просмотров 190 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 72 тыс.
How to use Bootstrap with Django
5:59
Просмотров 10 тыс.
Django QuickStart Web Application for Beginners
23:11
Django ChatGPT Clone Tutorial
1:33:32
Просмотров 94 тыс.
🛑 STOP! SAMSUNG НЕ ПОКУПАТЬ!
1:00
Просмотров 358 тыс.