Nice video, thanx again. One thing i have to mention: in a lot of your tutorials you are using a lot of external addons or resources (heroku, linode, retool etc…), but when you developping an applications for company with some security rules, mostly you have no chance to use any of them. So better is to use your local resources. Next think is a lot of registrations around these public resources.
@sizu2572 жыл бұрын
I just finished to watch your first django tutorial, and now I'm going to eat and digest this 1 xDDDD. It's incredible how much I've learned from you. You are a legend!
@TechWithTim2 жыл бұрын
Hope you enjoy!
@sizu2572 жыл бұрын
@@TechWithTim You, Bucky Roberts, Giraffe Code Academy, Code Beauty, Computer Science Crash Course, Ben Eater, and all the community out there, you are my heroes! But from all, you taught me the most. Python, MySql, Django, Speech Recognition, Pygame, Clients with Sockets, and many, many others. Because of you, I know how to build my humongous project, that hopefully's going to change the shape of the world. I thank you with all my might!
@maestr0_62 жыл бұрын
Tim I have a tip regarding what you showed :D If you are in an empty html file you can type one "!" and just press TAB! :D It will get you the same boilerplate html but faster. Keep up the great work!
@the_bird_is_the_word.2 жыл бұрын
You are just so perfect Tim. Words can't express how grateful I am
@anashoussaini39152 жыл бұрын
Thank you for the video, really well done. Although, I must say for Retool, I think it would be better to the admin panel by yourself. You will learn a lot by doing so. If someone is trying to build a web app with Django, it's impossible that they aren't programmers.
@armsjarbcgaming1591 Жыл бұрын
agreed, nifty tool tho
@shahinhashemi5799 Жыл бұрын
I assume it was done this way to plug Retool which is the sponsor
@alfabetony10 ай бұрын
loved that you used retool. working with the shell is hell to someone who doiesn't know much sql. Watching database changes via retool makes it seems so much nicer and sleek. The interface has changed since you made the video so i couldn't keep up with some of the retool stuff but i got the gist and will definitely look into using retool in the future.
@rinoldaiman64412 жыл бұрын
Thanks a lot bro. I was not able to authenticate new user but after watching this video it took only 2 mins to solve my problem which I was facing for more than 3 hours.
@pravachanpatra40122 жыл бұрын
LETS GOO!!! Tim finally making DJANGO tutorials. We need a social media clone next.
@sammy77622 жыл бұрын
Yes
@aankie3 ай бұрын
1:24:00 you don't have to apologise, you just have dry run get and post request, whether different way works..that rather helped me a lot to clearly understand the concept. Doing this alternatives in live is really helpful for the learner i guess.!
@roronoa_shady32692 жыл бұрын
Hey, Tim. I have been watching you for several years and I really like your content, the way you explain and show new things to us is great. I have learned a lot from you, also modified some of your projects. Really liked that video. And I was hoping you could make a video about AI - translator.
@amirilifee2 жыл бұрын
let this comment be on the top)
@nikolaosioannou96682 жыл бұрын
Hello Tim.Thank you for the cool tutorial. Helped a lot to understand the approach of permissions. Also, I have forked the project to propose a different way of removing the user from the groups, and to add a user to the group 'default' upon sign-up. Hope you find it useful and that I did not make the repo dirty. Take care and keep up with these sweet tutorials.
@murshid9569 ай бұрын
Is this video applicable to the django rest framework?
@matt-xq1xv2 жыл бұрын
dude your videos are so good. i learned so much from them. thank you for making this awesome content.
@usmanmonir5576 Жыл бұрын
Tutorial was awesome 👏 and have learnt a lot! One thing is while banning user the filter function was correct u just have to put .first() at the end as u did for the user, also for getting user u can simply use get function to be consistent. Thanks for such a great content!!!
@zeroday63792 жыл бұрын
You have saved me big time on figuring out important basics. Thanks man.
@TheNerdyPlayer2 жыл бұрын
this is exactly what i was looking for :) love your videos
@krzysztofwachowiak85472 жыл бұрын
Thanks. In your guide, I found the answer on how to properly define permission checking in views.
@Vancha1122 жыл бұрын
We just started using django at work! Thanks :)
@omoraltanim579511 ай бұрын
57:24 From Django 4.2 logout through GET is depreciated. Use this instead of link to logout {% if user.is_authenticated %} Logged in as {{ user.username }} | {% csrf_token %} Logout {% else %} Login {% endif %}
@kranfundefined11 ай бұрын
You are almost right, we need to paste in action "{% url 'logout' %}" not 'admin:logout'
@javalex561 Жыл бұрын
Tim, you are the GOAT, would you please make a new video about Django 2fa?
@blazenetic2 жыл бұрын
Epic content mate! Fantastic stuff, you are a great teacher.
@ngnotchouetiam4851 Жыл бұрын
Hey Tim, Its a great video thank you so much. Just got a little problem with the postgres database, heroku doesn't offer free tiers any more and I tried using Linode instead but I was unable to connect to my database and I finally gave up on using postgres. Could you make a video explaining how to setup postgres database on linode and connect it with django it would be so much of a help thanks 🙏🙏
@jonassonjp Жыл бұрын
I got the same problem here. It's not free anymore 😥
@besma702 Жыл бұрын
Did you other solution??
@myzel3942 жыл бұрын
38:48 Just a small hint: Don't use links that only contain the word "here". People who can't see well often use screen readers, which most of them have the ability to list out all links from a site. If the links now just contain the word "here", the person won't know where they'll be going.
@armalite68372 жыл бұрын
skill issue
@NeoShinkai Жыл бұрын
@@armalite6837 no funny
@kirollssabri46512 жыл бұрын
Awesome I really was searching for these kinda videos thanks so much ❤️
@aayushshrestha12108 ай бұрын
if the /logout doesn't work add def LogOut(request): logout(request) return redirect("/login/") to your views and create a custom url at the top of the urls file path("logout/", views.LogOut, name="logout"),
@amirilifee2 жыл бұрын
You teach many things. Keep it up✊✊✊
@zeydtc Жыл бұрын
This is really good. Thank you!
@gramscihc71318 ай бұрын
Hey Tim, first you Rock, and second could you let me know what vscode extension you use for django templates, Thanks
@Kappq2 жыл бұрын
The fact that just today I was trying to setup user authentication with Django and this video comes up- please remove the hidden cameras from my house. 😭😂
@manu-gt9gr2 жыл бұрын
nice video bro!
@gustavojuantorena2 жыл бұрын
Awesome! This is really helpful!!
@gsmtechzambia39852 жыл бұрын
nice one @Tech with Tim. Can this be used with a REST or GraphQL API? Or do you have any tutorial you'd recommend for that?
@lordtejas96592 жыл бұрын
Yes, You can use REST API with Django, not sure about GraphQL!
@justme-dz1wy Жыл бұрын
Thank you Tim.🙏
@valera7232 жыл бұрын
Hi thanks very much for this tutorial. Can you tell please what extensions do you use in the editor ?
@juiceearthhh7225 Жыл бұрын
do you have a django rest framework course
@littlepics27332 жыл бұрын
Seems to be a nice tutorial
@Michel-gv1sr2 ай бұрын
Good tutorial, but somewhat ruined by the use of re-tool, just for marketing purposes.
@tommasol.m.a.giambelli16432 жыл бұрын
Hi Tim! Quick question: why do you need a specific sign-up url and not need a login url? Is it because you expanded the pre-built sign-up class?
@rakshanaravindran98092 жыл бұрын
I too have doubt??is it is a builin function
@hanstemple60382 жыл бұрын
This isn't fair. watching such an amazing video with 1.12million views and getting only 1.2k likes come on guys you can do better
@omarjones8481 Жыл бұрын
maybe because a lot of us can't finish being that Heroku isn't free and that stopped the viewing on a bad note
@EDWIN-zg4yu10 ай бұрын
first off, what others tutorials do you have about Django? And second, could I modify the post part so that my admin users can upload Docker files instead of only text?
@borisbob2 жыл бұрын
Thanks,very nice awesome content
@firosiam77862 жыл бұрын
Is any more go projects on the pipeline or was the api vedio last in that series
@sammy77622 жыл бұрын
Please make more advance project in django
@ComputerGeek11002 жыл бұрын
Just wondering - what are you using for the syntax highlighting in the HTML templates? I’ve noticed that the default HTML intellisense in vscode doesn’t do that with the Django tags
@akangozan_kulbet6 ай бұрын
would you like to share us, what the specificly the django version above ?
@zeroday63792 жыл бұрын
Great content. I have tried to modify the signup page to incorporate things like phone number and country, however, these changes appears at the frontend and doesn't appear on the database, is there something I am not doing right?
@learnwithbasics6478 Жыл бұрын
brother is saving me from C++ class to software engineering class. Just a little too fast.
@sidharthcs211010 ай бұрын
How does login and logout work if the APIs are called from something like postman ? what information is letting the system know which user is trying to logout ?
@CCapsule2 жыл бұрын
Is this something we can put on our resume?
@ohisideho34608 ай бұрын
Heroku is not freen anymore. Any other services you suggest to follow along with the tutorial?
@amitavasengupta5580 Жыл бұрын
2:04 hrs why can't we import the Group and post_save globally?
@vaqowski6669 Жыл бұрын
1:22:17 ( ͡° ͜ʖ ͡°) Anyway i have a little bit of constructive comments about the tutorial. I hope it would be helpfull in the future tutorials. First of all i think that sticking to the general programming good practises would be a great idea. For example if you are creating a template, a view, a model or a form let it handle just one thing. For example separte templates for navbar, creating post, ect. Or you are useing a lot of logic inside home view, i would separate the logic to the differrent functions - so it allows me to stick to the KISS and SOLID principles. But besides that great tutroial, You explained very solid how to use User model from django and also generic forms it gaves me a lot of understanding which i didnt have before watching, thanks.
@truthdawn77732 жыл бұрын
Great 👌💯
@rec-trick10 ай бұрын
awesome
@pryme010 ай бұрын
when doing pip install crispy-forms ERROR: Could not find a version that satisfies the requirement crispy-forms (from versions: none) ERROR: No matching distribution found for crispy-forms
@ZuRqi2 жыл бұрын
Is this for beginners too?
@TheIvanlisi Жыл бұрын
Do you have logout option in the code?
@panomapet94412 жыл бұрын
Please make course on django-4
@MaqsudMaxmudov3 ай бұрын
40:08 ‼‼‼‼‼‼‼please, read fully. I spend 2 hours to fix this thing. you should make change in your settings other than which shown video. this is: TEMPLATES [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [BASE_DIR / '/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages'], # templates location( crispy ) } ]
@ahmedkhaldi2057 Жыл бұрын
thanks
@genericbinary5582 жыл бұрын
You are using re-tool and there django admin panel is like :|
@noajm462810 ай бұрын
What do you mean*_
@AnantSrivastava-h7n2 ай бұрын
tim i do it same but logout not work it says that the page isnot working right now plz help
@youssefelamrani79052 жыл бұрын
what if I want to use a normal database? how would it be done?
@jessicam32562 жыл бұрын
Thank you for this amazing video! But I was stuck at the retool dashoboard setup, after I entered "select * from pg_catalog.pg_tables", i got an error of "self signed certificate"... anyone knows how to solve it? @@
@BGOPC2 жыл бұрын
i don't want to disrespect but i guess i'm more expert in django CSRF token is a special type of web token used to authenticate it's a hidden input with special value which will be your auth key at the server
@dennisdegraphicsdynamo_99911 ай бұрын
Hello @Tim I know this video is a year now....but please comment on this post. I wanna know how I will deploy my code since heroku is dead....no more free offers. Please tell me the best option to do. I need your reply as fast as possible please
@k-kamori8842 Жыл бұрын
Hello, I have encountered a UserCreationForm error. It says "cannot import name 'usercreationform' from partially initialized module". How do I fix this?
@nikkiho2 жыл бұрын
Do you have the beginning django?
@jdchannelviewer2 жыл бұрын
FYI: I don't think Heroku is free anymore.
@growlinghuel9766 Жыл бұрын
Worth pointing out. I've started a few different tutorials and stopped at the point when they tell us we'll require Heroku to complete the work.
@rakshanaravindran98092 жыл бұрын
Y don't you map login in url..is it is a built-in function in python
@motlatsimoea Жыл бұрын
So I tried to customize the "password_change" Auth by creating a template with the same name and for some reason it keeps sending me to that default template. Any idea why?
@vaqmad Жыл бұрын
Actually you need to point the other template, or ovevwrite the existing by creaating template with correct name of file
@hassanmahmud76892 жыл бұрын
how to solved thik pblm plz? Query ran successfully statusCode:404 error:"Not Found" message:"Unable to retrieve information about the query "query2"" data:null
@vinayakram51332 жыл бұрын
Is this is for begineers..
@Vancha1122 жыл бұрын
Django itself is pretty beginner friendly, this specific tutorial is not really :(
@ILCGyangcczmyiyan Жыл бұрын
what happens if I dont use crispy, I just type form.as_p
@shans1308 Жыл бұрын
23:35
@airborne.images2 жыл бұрын
Couldn't get psycopg2 to install...wish. you weren't using heroku.
@timothydickinson70082 жыл бұрын
nice
@shibmobileverse4682 жыл бұрын
Can anyone else use the SSL? I had to disable it in Retool and skip certificates in order for it to connect. :( (Free Version of both Heroku + Retool)
@13137713 Жыл бұрын
Jenga 😅
@uclocnguyenvo422 Жыл бұрын
57:34 It is confused for me right here. How can the base.html know the variable user if we do not pass it from the view?
@kidjr.9520 Жыл бұрын
Because of the request. that we are sending .When you are not logged in in your request will be shown as anonymous user whereas if you are logged in your user information will be passed with the request.
@unknownman52962 жыл бұрын
ayo tim
@matteobucci65172 жыл бұрын
The youtube algorithm wants short videos, I understand that. 'Short videos' means a lot of information in a very short amount of time. I'm already not a fan of that, but I really don't understand why you're going THAT fast in your video with so little explanation about what your doing. This is a 2 and a half hour video, it's a bloody TUTORIAL made for people who want to learn. This should have been a 5-hour-long video and if people aren't interested in one of the topics they can simply skip it. Learning in these conditions is just horrible and if I had a professor that was teaching that way, I'd never show up to the classes. I hope this was good criticism.
@yogeshshrestha1745 Жыл бұрын
Thankyou sir I got my answer you helped a lot
@soumenchattopadhyay9612 Жыл бұрын
for me LOGOUT_REDIRECT_URL = '/login' not working it says "Method Not Allowed": /logout/ .. I am in Chapter - Registration and Sign in
@melancholicsmile5575 Жыл бұрын
Hi Tim I Modified The code to This for Banning user So it will auto remove from all groups elif request.POST.get('ban_user_id'): ban_user_id = request.POST.get('ban_user_id') user_id = User.objects.filter(id=ban_user_id).first() if user_id and request.user.is_staff: groups = user_id.groups.all() print(groups) if not groups : messages.info(request, f'User:{user_id.username} is already Banned') else: for group in groups: user_id.groups.remove(group) user_id.save() home.html add this right after {%block content%} {% if messages %} {% for message in messages %} alert('{{ message }}'); {% endfor %} {% endif %}
@jeromepouzoulet7823 Жыл бұрын
Great Tutorial. You covert every aspects and you go to the point like a boss, well done. Thanks!!!