I watch many different presenters of material like this on RUclips and I must say you are one of the best at not only presenting important features, but also explaining in detail how the code you create actually works. Keep up the great work! -- One of your fans in the U.S. and a Mac user to boot!
This is hands-down the best Django course I've come across on the internet. I tried out several tutorials but they all led to dead ends, leaving me stuck with errors even after following the steps precisely. In this one, I have followed the steps to the very end without problems, and I've understood the concepts at a deeper level than ever before. Thanks a lot Stein.
Thank you for simplifying this so I can learn Django! This was a very helpful training. I have some basic python experience, but am new to django so this really helped me.
Really appreciate this video. It just so happens that I have to make a proposal to a fake company to sell them my CRM solution as an project for a uni class, and it must have a demo! So again, thanks!
Hello stein I am a complete beginner and i have just landed on your channel and found out that you the exact kind i hve been searching for to help me in my self learning on coding, just please tell me tje the very first video should start from , like from start to current so i be following because i failed to figure out where to start from. I have so far learned most html, css, python basics, JavaScript basics.....you the best man!
Absolutely loved it. Packed with content it really gets a lot done in a short time while keeping you well informed of how everything is connecting to each other. Made me feel like a professional at work. only criticism I can think if is to say that sometimes the video text is a little low down on the screen and it causes RUclipss bar to overlap the text and it becomes hard to read when I'm pausing and rewinding which I was doing often because I was really spending time with each step to attempt to best absorb it. Thank you Stein!
Absolutely brilliant so far, had to adjust some minor things early for Windows application (source and bin) nothing troubling though and as mrmoneybagz said this IS the best django course ever... only thing that had me scratching my head is why we would want a Dashboard button on the Dashboard page... guess I will get the puzzle solved later on... on to the next part eagerly...
Awesome tutorial! I'm new to Python and Django, and I find your tutorials incredibly easy to follow and very helpful. However, I've encountered a problem with the logout functionality. When I attempt to log out, the terminal shows the error 'Method Not Allowed (GET): /log-out/ (...) "GET /log-out/ HTTP/1.1" 405 0', and the page turns white. I've double-checked my code against the tutorial, but I can't seem to figure out what I'm doing wrong. Could you offer some advice on how to resolve this issue. Thank you in advance for your help!
Hey, Thank you so much. In Django 5, there is a big change when it comes to security for the log out button. It needs to be replaced with a form. Check out this tutorial here: learndjango.com/tutorials/django-login-and-logout-tutorial
@@CodeWithStein Thanks for the quick reply and the tip about Django 5's logout functionality. I've just fixed the issue with a workaround I found, but I'll make sure to follow your advice in part 5. Also, I appreciate the tutorial link, looking forward to checking it out after finishing part 4. Great tutorials, really helpful!
{% csrf_token %} Log Out But now the styling/alignment is not correct. does anyone know how to fix the alignment so its the same as the previous? Log out
Hi Stein! Love the vid great tutorial. Got to the part where making the logout and it does not seem to work. I read online that the href for logout has something to do with a security and how we have to use the csrf token to be able to do so. if i am missing something let me know because now the logout button looks ugly but somehow works Dx
I have the same problem, it says that it is a GET response where it should be a POST, if you know the answer please explain. My code is exactly the on eon the vide, maybe an update?
Hey guys! This comes from some changes that came in Django 5. You cannot longer just use a link to logout, you need to swap it out with a simple form that can do a POST request.
Hi Stein. It's a pleasure to follow your tutorials. Very relevant topic - CRM. Will you limit yourself to just one video or will there be a series? if positive - have you any release plan? good luck with future projects.
Stein! Thank you so much for this video! I'm learning so much and I'm so grateful! I made it through the first video and I'm only having one slight challenge. When I click the logout button I can't get the redirect to work properly. I keep getting a 405 error. I've read that inserting a form instead on an anchor in base.html could solve the issue. Example code below. However, once this is inserted I get a 404 error. The code below doesn't work either and gives a 404 page error. Do you have any suggestions. I've used Google and ChatGPT, however, neither has provided a working solution. Thank you for your help! {% csrf_token %} Log Out
Hey, this was changed in a newer version of Django than I used. Were you able to fix it? You use the correct code now, but maybe you need to modify it for the project you’re working on
Thank you! I would like to know, if I want to use Tailwind directly for production, how do I do it? Do you have a resource to suggest me to set this up direclty without going through the CDN ?
Hi Stein, thank you so much for your video and step by step guide. I am learning to code throught this video and I am stuck on the signup.html which the sign up form is not appearing, please advice
Greetings! First of all, I would like to thank you for a great tutorial. It's been super helpful and I'm looking forward to what you come up with next. I just had a question on the logout section. I'm having an error coming up and I've gone back and foward with it but it seems I can't get it solve. Is there a way I can message you the error I'm getting and maybe get some help?
Hey, there has been some changes to Django in version 5. you can no longer logout like i do in this video. You need to replace the link with a form. If you Google this, you will probably find a good solution 😁😁
Hey Stein, I'm following this tutorial. It seems {% block title %}Teal CRM{% endblock %} is only displaying in the tab and not the address bar. I even tried using your code from you Github but it just doesn't display in the address bar. any ideas if this can be fixed?
@@CodeWithStein Thanks for the reply Stein. You're right! I just double checked. my eyes must be playing tricks on me. Keep up the good work stein, your tutorials are awesome!
hey that extends does not open my base.html file when I refresh my index.html the text will occur {%extends "core/base.html" %}this text will be occurs what should i do
Hey stein, could you please help me out ,to see the complete output in my system. I downloaded the github repository and having issues in running them. I am eager to see the website even before start coding them.
Hi Stein, Hope you are good. I checked this playlist now, you already have done a playlist on CRM app with DRF + vue... How this playlist is different from that?
Amazing Content - How many parts are you planning ?.. Once i complete the project -will it be able to host it on public domain - will you teach about managing CRM users ?
@@CodeWithStein For example in CRM we usually have business group like sales , marketing , support. Within each of those group there will be users.. Thats what i meant by CRM Users.
I watch many different presenters of material like this on RUclips and I must say you are one of the best at not only presenting important features, but also explaining in detail how the code you create actually works. Keep up the great work!
-- One of your fans in the U.S. and a Mac user to boot!
Thank you so much for the kind feedback :-D
I'm from Russia, thank you, you do cool things and explain them clearly and in detail.
Thank you so much 😁
This is hands-down the best Django course I've come across on the internet. I tried out several tutorials but they all led to dead ends, leaving me stuck with errors even after following the steps precisely. In this one, I have followed the steps to the very end without problems, and I've understood the concepts at a deeper level than ever before. Thanks a lot Stein.
Thank you for the feedback 😁 glad to hear that it helped 😁
@@CodeWithSteinthanks for the reccomendation :) But is it still up to date? Thanks again!
Awesome! Thank you Stein. You are a great teacher and your content is some of the best on RUclips. Part one complete, onwards to part two!
Thanks for the kind words :-D
thank you stein you teach in a detail and clear way and you save me from my exam!
You're welcome :-D
Stein, this is great and can't wait for the next video in the series.
Thanks 😁😁
This is the perfect course to learn Django for beginners. And it's all FREE!
Thank you so much 😁😁
Thank you for simplifying this so I can learn Django! This was a very helpful training. I have some basic python experience, but am new to django so this really helped me.
You're welcome :-D I'm glad you liked it :-D
Always appreciate your dedication and love of sharing your knowledge. Thanks
Thank you so much 😁
Really appreciate this video. It just so happens that I have to make a proposal to a fake company to sell them my CRM solution as an project for a uni class, and it must have a demo! So again, thanks!
Great 😁 glad you enjoy it 👍🏻
Hello stein
I am a complete beginner and i have just landed on your channel and found out that you the exact kind i hve been searching for to help me in my self learning on coding, just please tell me tje the very first video should start from , like from start to current so i be following because i failed to figure out where to start from. I have so far learned most html, css, python basics, JavaScript basics.....you the best man!
Thank you so much for the feedback 😁 did you find a place to start? 😁
Your tutorials are super helpful. Thank you Stein ❤
Thank you 😁😁
Thank you very much for this tutorial. It is simple and easy to learn.
You're welcome :-D Glad you liked it :-D
The explanation style is very interesting
Thanks 😁 i hope 🤷🏼♂️
Absolutely loved it. Packed with content it really gets a lot done in a short time while keeping you well informed of how everything is connecting to each other. Made me feel like a professional at work. only criticism I can think if is to say that sometimes the video text is a little low down on the screen and it causes RUclipss bar to overlap the text and it becomes hard to read when I'm pausing and rewinding which I was doing often because I was really spending time with each step to attempt to best absorb it. Thank you Stein!
Hey, Thanks for the feedback 😁😁 i will try to move things further up in my newer videos 👍🏻
Thank you soooo much for creating this wonderful and clear tutorial. Really inspiring and helpful to my learning.
You’re welcome, glad you liked it 😁😁
Absolutely brilliant so far, had to adjust some minor things early for Windows application (source and bin) nothing troubling though and as mrmoneybagz said this IS the best django course ever... only thing that had me scratching my head is why we would want a Dashboard button on the Dashboard page... guess I will get the puzzle solved later on... on to the next part eagerly...
Thank you so much :-D Glad you were able to fix it on windows :-)
IM encountering an error, I'm at 46:47. When i hit log out i get "this page isnt working at the moment". Any ideas?
Hey, were you able to fix this? :-)
Change it from : Log Out
to:
{% csrf_token %}
Logout
It will work but maybe Stein can give you a more elegant solution.
great as always thanks alot cant wait to follow along
Thanks 😁😁
Just found your channel. Excellent Content. Another sub for you sir!
Thank you so much 😁 keep spreading the Word ☺️
Awesome tutorial! I'm new to Python and Django, and I find your tutorials incredibly easy to follow and very helpful. However, I've encountered a problem with the logout functionality. When I attempt to log out, the terminal shows the error 'Method Not Allowed (GET): /log-out/ (...) "GET /log-out/ HTTP/1.1" 405 0', and the page turns white. I've double-checked my code against the tutorial, but I can't seem to figure out what I'm doing wrong. Could you offer some advice on how to resolve this issue. Thank you in advance for your help!
Hey, Thank you so much. In Django 5, there is a big change when it comes to security for the log out button. It needs to be replaced with a form. Check out this tutorial here: learndjango.com/tutorials/django-login-and-logout-tutorial
@@CodeWithStein Thanks for the quick reply and the tip about Django 5's logout functionality. I've just fixed the issue with a workaround I found, but I'll make sure to follow your advice in part 5. Also, I appreciate the tutorial link, looking forward to checking it out after finishing part 4. Great tutorials, really helpful!
@@CodeWithStein Ok, and how to line up buttons, combining "form" and "a" elements?
This seems to fix the logout issue.
{% csrf_token %}
Log Out
But now the styling/alignment is not correct.
does anyone know how to fix the alignment so its the same as the previous?
Log out
thank you stein. please try ALT key + SHIFT key + down arrow key in any of your code line in vscode editor.... thank you so much
I will try that 😁
Thanks for all you do.
You’re welcome 😁
Hi Stein! Love the vid great tutorial. Got to the part where making the logout and it does not seem to work. I read online that the href for logout has something to do with a security and how we have to use the csrf token to be able to do so. if i am missing something let me know because now the logout button looks ugly but somehow works Dx
I have the same problem, it says that it is a GET response where it should be a POST, if you know the answer please explain. My code is exactly the on eon the vide, maybe an update?
@@mariodelrisco2403 from my research (10 minutes of hard googling lol) it was an update that came out after this tutorial vid 🤧
Hey guys! This comes from some changes that came in Django 5. You cannot longer just use a link to logout, you need to swap it out with a simple form that can do a POST request.
@@CodeWithStein thanks for getting back to me! Yes I did that and now it’s looking hot 🔥
Thank you. It was so helpful.
Thanks 😁😁
Great tutorial, thanks!
You're welcome :-D I hope you like the rest of the series as well :-D
Hi , may be it's useful to add timeline for each parts in your video . great content .
That is something I probably should try to do yes :-)
Hi Stein. It's a pleasure to follow your tutorials. Very relevant topic - CRM. Will you limit yourself to just one video or will there be a series? if positive - have you any release plan? good luck with future projects.
Thanks 😁😁 this will be a long series 😁 no release plan so far, the next part is coming tomorrow I think ☺️ or Monday.
@@CodeWithStein Terrific. Look forward to hearing from you ASAP!!!
Stein! Thank you so much for this video! I'm learning so much and I'm so grateful! I made it through the first video and I'm only having one slight challenge. When I click the logout button I can't get the redirect to work properly. I keep getting a 405 error. I've read that inserting a form instead on an anchor in base.html could solve the issue. Example code below. However, once this is inserted I get a 404 error. The code below doesn't work either and gives a 404 page error. Do you have any suggestions. I've used Google and ChatGPT, however, neither has provided a working solution. Thank you for your help!
{% csrf_token %}
Log Out
Hey, this was changed in a newer version of Django than I used. Were you able to fix it? You use the correct code now, but maybe you need to modify it for the project you’re working on
@@CodeWithStein Hey Stein! Yes! I got it to work! Thank you so much! :-) Starting the 2nd video in your CRM tutorial today! So grateful for your help!
Thank you! I would like to know, if I want to use Tailwind directly for production, how do I do it? Do you have a resource to suggest me to set this up direclty without going through the CDN ?
Thanks 😁 sure, just follow this series. I explain this in part 4 or 5 😉
Hi Stein, thank you so much for your video and step by step guide. I am learning to code throught this video and I am stuck on the signup.html which the sign up form is not appearing, please advice
Hey, were you able to fix it?
Greetings! First of all, I would like to thank you for a great tutorial. It's been super helpful and I'm looking forward to what you come up with next. I just had a question on the logout section. I'm having an error coming up and I've gone back and foward with it but it seems I can't get it solve. Is there a way I can message you the error I'm getting and maybe get some help?
Hey, there has been some changes to Django in version 5. you can no longer logout like i do in this video. You need to replace the link with a form. If you Google this, you will probably find a good solution 😁😁
@@CodeWithStein So I should look up logout form? or how you recommend me to go about it?
Hello Stein, in views.py for userprofile, Userprofile.objects.create(user=user). it says class userprofile has no object members. How can i fix that?
Hmm, sounds weird. Were you able to fix it? :-)
Hey Stein,
I'm following this tutorial. It seems {% block title %}Teal CRM{% endblock %} is only displaying in the tab and not the address bar. I even tried using your code from you Github but it just doesn't display in the address bar. any ideas if this can be fixed?
Hey, the address bar? Do you mean where 127.0.0.1 is? It is only suppose to be seen in the tab/window ☺️
@@CodeWithStein Thanks for the reply Stein. You're right! I just double checked. my eyes must be playing tricks on me. Keep up the good work stein, your tutorials are awesome!
hey that extends does not open my base.html file when I refresh my index.html the text will occur {%extends "core/base.html" %}this text will be occurs what should i do
Hey, it looks like you're missing a space before "extends" :-)
Sir, I'm facing an error "local variable 'form' referenced before assignment" please tell me how to solve this
Hey, sounds like an indentation error or similar. Try to see if the form variable is set above where you use it ☺️
Спасибо за ваши уроки
:-)
Hey stein, could you please help me out ,to see the complete output in my system. I downloaded the github repository and having issues in running them. I am eager to see the website even before start coding them.
Hey, did you manage to get it running?
Great content thank you.
Thanks 😁😁
Hi Stein, Hope you are good. I checked this playlist now, you already have done a playlist on CRM app with DRF + vue... How this playlist is different from that?
Hey, yes, this is pure Django ☺️ and tailwind for styling 😁
absolutely amazing. what is your thoughts on py-script stein
Thanks 😁 i haven’t had time to check it out yet, but it looks very cool ☺️
@@CodeWithStein hope we will get your tutorial on py-script soon ☺️
how to do the signup part using custom html file?
Hey, it is a bit too much to explain here. But you can try googling it, there should be plenty of examples out there :-)
Thank youu so much! I learn a lot from you :)
Thanks! Glad to hear that 😁😁
Amazing Content - How many parts are you planning ?.. Once i complete the project -will it be able to host it on public domain - will you teach about managing CRM users ?
Thank you 😁 2-3 I think 👍🏻 I will show how to deploy it yes ☺️ what do you mean with crm users?
@@CodeWithStein For example in CRM we usually have business group like sales , marketing , support. Within each of those group there will be users.. Thats what i meant by CRM Users.
Ah I see! I will see what i can do ☺️
helpful tutorial thank you
Thanks 😁
Thank you very much. Can you add testing in you tutorial please :)
You’re welcome 😁 maybe, i will add the idea to my list 👍🏻
love ypur stuff Stien, have you ever deployed to Dokku. would love to you do a video on it . your great
Hey, never tried. But maybe some time in the future 🤷🏼♂️
Thanks and let's go
Oh yeah 😁
Bro the user profile.views import is not working for me
Hey, hmm weird. Are there any errors?
Try this code for the button:
Submit
Is this good starting place to learn Django? I Subs btw :)
Thanks :-) i would search for my crash course first where you learn to build a blog, that is better for beginners ☺️
@@CodeWithStein Thanks! :D
Grade tutorial sir.
Thanks ☺️😁
👍
☺️
I have spend 8 hours to get Python up and running with Django. I give up. Wasted my time
Hey,
that's not good to hear. What was the issue? Are you using windows?
If I want to execute source django_env/bin/activate the source command is unknow, the bin directory does not exist
windows 11, i5
@@CodeWithStein just the command: django_env/scripts/activate did do the job
now I have an error on the PYTHONPATH. Maybe for absolute beginner as I am o have a video before part1. I have no idea what to do. @@CodeWithStein