Holy shit I was looking for something like web development with python and you showed up. Perfect timing :)
@colinbird12 жыл бұрын
This tutorial series was perfect: it demonstrated the power of Django in a way that I had not appreciated, and your step-by-step instructions helped me understand how the separate files work together to create what the user sees. Thank you!
@FFGAMER-pe9lw4 жыл бұрын
I love this django series...
@jhonnykokos85224 жыл бұрын
Man, that's so good, thank you for your effort!
@leonardoreis43483 жыл бұрын
That's the best youtube channel for Python programmers
@rangabharath42535 жыл бұрын
Thank you so much. Awesome tutorial bro. Keep doing 👍😀
@daqa2908853 жыл бұрын
I had been about to go back to the beginning of everything, jajaja thanks for the course, is very good and fast to learn, thanks
@malikjavadov366 Жыл бұрын
Damn, perfect tutorial
@saharamanson19704 жыл бұрын
Nice bro keep it up........
@mohammedashfaqueaslam25664 жыл бұрын
When i check an item and press save all the items vanish and only appear again if I press reload why is this happening
@shyrenmore81403 жыл бұрын
I didn't understand this tutorial at all, I have watched this 3 times now, the earlier videos were great
@RM-lb7xw3 жыл бұрын
Its okay if you don't get it at first. Try going through the vid again and see what thing/syntax you don't understand and maybe try Googling it. Or maybe I could help.
@hadimasri4205 жыл бұрын
Always the first, for the one i love
@PlaneToTheBrainES5 жыл бұрын
Minute 9:27 ,what if the checkbox is checked and you clicked to uncheck it? It will turn into checked although you tried to uncheck it, isn't it? Great tutorials btw.
@leonwinkel60843 жыл бұрын
awesome video, as the rest of your content and i thank you for helping me with m current project! It would be great if you show the models at the beginning this would complete the composition of database/form/views and their interconnections :)
@abdulwadudkhan6846 ай бұрын
When I hit the save button checked box hot blacked so nah one help me
@OthmanAlikhan2 жыл бұрын
Thanks for the video =)
@bcddd2144 жыл бұрын
I used this. It helped me!
@MrArtZeh4 жыл бұрын
Awesome series
@dinokrivic54864 жыл бұрын
It's all working good but if i add a new item and refresh the page it will automaticlly add a new same item.How can i fix that.
@ShravyaHJain3 ай бұрын
The page that you're looking for used information that you entered. Returning to that page might cause any action that you took to be repeated. Do you want to continue? this pop up comes that means previously done task will be repeated
@abdulrahmantijani26465 жыл бұрын
really enjoying your videos. however I came across a problem in this video. when I click save or add item, nothing updates. A new item does not get added nor does the check box update whenever I click or unclick it. I have checked my code multiple times line by line and everything seemed the same as yours. Plz help :(
@udayposia80825 жыл бұрын
same problem here , please help
@abdulrahmantijani26464 жыл бұрын
@@udayposia8082 I finally solved the problem. Idk why but when I changed the name of the variable 'txt' in the views.py to something else, it suddenly started working
@viplavdube79534 жыл бұрын
@@udayposia8082 hey try what @Abdulrahman tijani said. Its working. Dont quit. keep trying.
@viplavdube79534 жыл бұрын
@@abdulrahmantijani2646 Thanks man
@crishl192 жыл бұрын
I still can not add Items only lists. can anyone give me a hand ? I doube the code with tim's but still dont work
@judegomolina2 жыл бұрын
I've been watching this series and I am thinking if it wouldn't be a better, or at least cleaner, option to have separate views that will handle one type of request (e.g. POST, GET), assuming we want to stick to SOLID principles and make our view functions have a single purpose. However, I am not sure if this would be a good idea in terms of structure and readability of Django app.
@Optimus3334 жыл бұрын
Why does he use commas to separate button elements? As he does around 2:00
@bshxhgyshz72673 жыл бұрын
i had a problem with this code where it had to save the item but it didn't save because of commas in list.html but you did it without any problems how is this possible?
@kevinmorte77804 жыл бұрын
Hi Tim! Great topic that of custom forms :) How would you approach if you wanted to save a form with a dropdown menu?
@SendiSiradj4 жыл бұрын
Thank you, this is what i am looking for. I was searching how to retrieve data from html when user type text in the form i manually created. Django form is just looks so crude and i have this beautiful css form. The method what i am looking for is response.POST.get(name of the input element). thank you
@SendiSiradj4 жыл бұрын
But here comes the next problem. I cannot retrieve the data when i deploy the website. But it works in localhost
@ando440Ай бұрын
I am starting to think I am proper dumb. So I have been through this part several times, I have looked at some other people's solutions but I can't get my head around why it is not allowing me to add items. The save button remembers the options, but nothing happens when I try to add an item to the list - anyone else got a cause and solution?
@khalis84 жыл бұрын
But how does the db gonna be look like? Are u using mongo db or mssql or mysql or something else?
@gbagba81 Жыл бұрын
WHEN IN ITEM.COMPLETE=TRUE, DO NOT PUT THE TRUE. just item.complete. it'll do it, and it won't parse '==true' nor 'false' if you put it great videos. sometimes i have the thought that many people do little mistakes on purpose just to get more comments (not you, though i'll do it haha). awesome video of course
@Castisto5 жыл бұрын
this is really nice learned alot. thanks! :D by the way how did u start learning Django? tutorials? docs?
@TechWithTim5 жыл бұрын
Just the docs
@Music44304 жыл бұрын
When I attempted this the save button didn't work, it set all of the checkboxes unchecked. When testing the code the statement: response.POST.get("c" + str(item.id)) stored the value "on" not "clicked" so I changed the IF statement in the for loop to: if response.POST.get("c" + str(item.id)) == "on": All works now.
@jeroldnay5891 Жыл бұрын
Hey Alex, just started on this tutorial; any reason why this is so? Thanks!
@roychen95078 ай бұрын
i had the same problem but I still don't know why
@codingbyday10834 жыл бұрын
Tim. This is not connected to a database right? I'm making a ticketing system with django and trying to figure out how to submit data to the database, this is ony dict, right? forms.Model.form for the db right?
@stnhld28413 жыл бұрын
It’s not a stand alone visit the channel and find the playlist on Django. Work from the first video.
@codingbyday10833 жыл бұрын
@@stnhld2841 Oh I know, I fixed the problem a long time ago and got payed. Thanks.
@tomaszkoscielniak6125 жыл бұрын
I'm little confused. In file list.html you defined value="clicked" for both inputs, regardless of item.complete is True or False. So why, when we iterate on item_set in views.py, in if expression we get True, only for this items which had "checked" in input. Condition ("c" + str(item.id)) == "clicked") is also met for this items in second input without "checked". I believe you understand what I mean :)
@TechWithTim5 жыл бұрын
The value is only “clicked” if it is is clicked
@vihashah59754 жыл бұрын
after he copied the line he deleted the 'clicked' part
@classicguy78134 жыл бұрын
Great Sir! Can you do the class based and home page with each posts and each forms on the same page, commenting like facebook? Thanks Sir
@paul85735 жыл бұрын
What I find confusing is how to organize ' the widgets' on the website is there a way to do it with x and y
@TechWithTim5 жыл бұрын
You wouldn’t want to use x and y because that would be absolute positioning which means your website wouldn’t scale for larger or smaller screens
@paul85735 жыл бұрын
right and thanks to replying to my comment
@user-qe4wr8hm2z5 жыл бұрын
Hi Tim! First of all - thx! Great videos as always. If i make everything just as you - when i'm creating a new item in my list, it appear checked (with tick in checkbox) and if i click save button all checkbox update their status vice versa (what was checked - unchecked...) I solve this problem by: if response.POST.get("c" + str(item.id)) == "clicked": item.complete = False - i made it false else: item.complete = True ... and: if len(txt) > 2: ls.item_set.create(text=txt, complete=True) - and here i made it True ... but i didn't get why it happened like this?
@TechWithTim5 жыл бұрын
I may have just mixed up in the HTML file which is checked to start and which is not, try looking at that
@user-qe4wr8hm2z5 жыл бұрын
@@TechWithTim You right, I found the cause of a problem, in list.html... Thank you master, it was my mistake =/
@mohdfayed1385 жыл бұрын
@@user-qe4wr8hm2z please clarify your mistake, I have the same but can't find it!!!
@mohdfayed1385 жыл бұрын
Sorry, this did not work. It always uncheck all
@mohdfayed1385 жыл бұрын
I found my typing mistake. c{{item.id}}} instead of c{{item.id}}. corrected and worked fine. SORRY to ALL
@mohdfayed1385 жыл бұрын
I am using your code, clicked or not .. It uncheck all !!!
@WorkConfidential4 жыл бұрын
Is there a github for this? I checked my code but when I check or uncheck the boxes, and click "Save", it doesn't save.
@yassinenifa38354 жыл бұрын
Me too, did u solve it ?
@rohithgoud303 жыл бұрын
@@yassinenifa3835 just removes commas in all html files it will work
@didiergenier4 жыл бұрын
Hi Tim, First of all my apologies about my english... I'm french speaker from Switzetrland ! I folowed some of your tutorials with great pleasure and solved my problems with your knowledges. I wonder if you could make a tutorial about a problem I encount with forms. In fact, I need to filter a choice_list with the content of a previous choice_list field. For example, first choice would be Countries and the second will be filtered only with the Cities of the previously selected country. I attempted with a module named "django-complete-light" but I'm not able to solve that. May be, you'll have another path or possibility to explain like in yours previous tutos. In all cases, thank you a lot for your tutorials very helpfull. Didier
@hadimasri4205 жыл бұрын
Hello bro i do not have a computer and i am coding from my phone, i am also confused between learning ML and learning Django, pls what do u recommend me?
@TechWithTim5 жыл бұрын
Geez idk man I’ve never coded from my phone
@hadimasri4205 жыл бұрын
@@TechWithTim not its not about my phone or not, i just confused between ML and django
@CyberWorldwithPratik5 жыл бұрын
@@hadimasri420 bro you can learn ML and utilize trained models by putting models on sites with django... ??
@abdulwadudkhan6846 ай бұрын
I write same code as per tutorial
@sainco30365 жыл бұрын
thanks.
@Yash421893 жыл бұрын
Wow the level of difficulty jumped up quite a bit on this video. Or Im just really tired
@mentore66673 жыл бұрын
i dont know about others, but i think django forms are very poor explained.
@nehat7865 жыл бұрын
Little bit confusing video
@TechWithTim5 жыл бұрын
What part did u find confusing? I appreciate the feedback btw!
@nehat7865 жыл бұрын
{% block content %} {% endblock The content inside this block. Dont know from where ls.item_set came. And clicked part is confusing to me.