🔴 Heads Up : Thanks to CodeDjango, we have spotted a small error in the minute 20:32 , the path for the detail_post page should be : path('/', views.DetailView.as_view(), name="post_detail") So, the difference is DetailView instead of PostView.
sir this is the error i get when i change it path('/', views.DetailView.as_view(), name="post_detail") AttributeError: module 'blog.views' has no attribute 'DetailView'
To be honest, I don't know what is the origin of this error, as I will need to review your code, but maybe this will help you: forum.djangoproject.com/t/attempted-relative-import-with-no-known-parent-package/6844 This error is related to import a model or a class from a relative / absolute path
@@oldtoxicflux of course. You can check out my Django video to add static assets to your Django project, you will find how to add an image and render it properly.
I am going to look into that whenever i got the time, but I know there are a lot of errors, so probably I am going to redo this porject in a better way - so stay tuned | That is probably going to take place in June [next month]
hello sir,the tuitorial is great.when i press READ MORE buttom to write the full post nothing is happening. i have follow the toitorial well.sir i can figure out were the error is coming from. thanks very much sir
@@BekBrace I want some more information for this blog, this is simple one you know, so I want to continue or make it some extra work it. Like original blog site
🔴 Heads Up : Thanks to CodeDjango, we have spotted a small error in the minute 20:32 , the path for the detail_post page should be :
path('/', views.DetailView.as_view(), name="post_detail")
So, the difference is DetailView instead of PostView.
sir this is the error i get when i change it
path('/', views.DetailView.as_view(), name="post_detail")
AttributeError: module 'blog.views' has no attribute 'DetailView'
@@saahndongransom718 Look, clone the GitHub repo and check out for the differences and eventually you'll find the bug :)
@@BekBrace thank you sir,i have clone code but can't still find the bug
@@saahndongransom718 hey, good day. Were you able to find the solution to this attribute error?
I'm an absolute beginner to Django, just installed Django recently & started learning with this video!!
Thank you so much. Already subscribed :)
Thank you my friend 🙂
I really love your contents sir Bek.
You are the best in Tech!
I appreciate that!
Damn! Nice Video:) Really inspiring 💯
Thank you Tim Seidl 🙏
@@BekBrace You're welcome! Just started a TH-cam channel by myself. Videos like yours are nice to watch and inspire me.
@@timseidl8850 Good luck my friend
I get an import error at 13:23 .. Says, attempted relative import with no known parent package. Plz help
To be honest, I don't know what is the origin of this error, as I will need to review your code, but maybe this will help you:
forum.djangoproject.com/t/attempted-relative-import-with-no-known-parent-package/6844
This error is related to import a model or a class from a relative / absolute path
hello, have an error in 13:30 Posts isn't showing in site administrator . did everything like u did. don't know what to do
check out the code and cross check
@20:32 I think it should be........... path('/', views.DetailView.as_view(), name="post_detail"),
Thank you CodeDjango, It’s exactly that ; just a silly copy and paste from my side | thanks for pointing it out , cheers
indeed otherwise read more btn won't
work 😄
hi Bek. quick and clear tutorial :) - more and more django projects, man
At 13:09 error:'choices' must be an iterable containing (actual value, human readable name) tuples.
You can download the source code and compare to find the difference
Verry clear Thanks
I think I found a gold mine. Subscribed
Thank you so much my friend :)
Hi, thx for the video. I'm trying to get the Read More button to open the full post page. Could you help me?
Thank you
Check out the GitHub code in the description 🙂
how can i upload images to my blogpost?
Go to the Django playlist, you will find a video there explaining how to render images to your Django page
thank you so much sir!
You're welcome my friend
Thanks dude it help me a lot :D
Glad to hear, my friend
@@BekBrace do you know what i should do if i want to upload ar image or a picture to the post?
@@oldtoxicflux of course. You can check out my Django video to add static assets to your Django project, you will find how to add an image and render it properly.
Thank you very much, the video is useful
Glad to hear my friend
This is helpful thanks but I’m still confused how to import the Base, index, post_detail, sidebar.html files
Hi sir, I got template does not exists error
I am going to look into that whenever i got the time, but I know there are a lot of errors, so probably I am going to redo this porject in a better way - so stay tuned | That is probably going to take place in June [next month]
How do I allow new lines in blog post ?
hello sir,the tuitorial is great.when i press READ MORE buttom to write the full post nothing is happening.
i have follow the toitorial well.sir i can figure out were the error is coming from.
thanks very much sir
Hello my friend. Do you have any error messages appearing ?
@@BekBrace yes Sir.when i press READ MORE notthing is happening
i cant see the Posts app in admin
can u pls it through
Can you rephrase your question, please?
Sir...
While running the code.... It's coming error like the app name does not have any module...... Please correct the error sir
Check out the code on GitHub and see where the error is
Please make a video on deploying production level React + Django Rest Framework + tailwind + Postgresql to Digital ocean with Docker
Sure
Can you please create an exchange rate app with Django?
Hello Leon.
This is a very good idea for a video, thank you.
Can you explain the sidebar.html (about info)
What do you want to know exactly ?
@@BekBrace I want some more information for this blog, this is simple one you know, so I want to continue or make it some extra work it. Like original blog site