Django Tutorial - Templates & Custom HTML

  Рет қаралды 113,997

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 93
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
I like that you explain things just enough for not making mistakes. Not like "do like I do", but "you should name this folder the same as your app, it's important for django to work"
@official_bqpro
@official_bqpro 8 күн бұрын
Thank you so much, Tim, the way you explain the code and demonstrate it, makes it very simple and understandable for a beginner like me. you have become my number 1 online teacher so far
@ahmedyasser8416
@ahmedyasser8416 3 жыл бұрын
actually your tutorials make me so happy as it feels so realistic and just represent my pain while learning specially that i'm so beginner and errors that face you and the way that you deal with it is just similar to us.. not like these professionals who made every single line looks so easy and they just want us to type faster and follow them along the tutorial I don't mean that you're not professional but just seeing you facing the same issues that we pass through is very satisfying
@mavrik077
@mavrik077 3 жыл бұрын
I got hooked on your videos so started binge watching them. I have now unintentionally learnt how to code a website. You're awesome
@cyberspider78910
@cyberspider78910 5 жыл бұрын
very nicely explained....by the way, when you make mistakes and corrects it - it is totally human. Actually, many people may will like it that way (yours truly included) because that gives a real touch to your tutorial....keep it up...
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
I definitely want to look at real debugging.
@anakinskywalkerrr
@anakinskywalkerrr 5 жыл бұрын
Yes! full website tutorial till deployment :), my boy actually answer the comments
@lecomtegaetan8120
@lecomtegaetan8120 6 ай бұрын
thank you for all your videos , they are always great !
@rajatparab8116
@rajatparab8116 5 жыл бұрын
Eagerly waiting for future videos of django .Nice explanation 👍👍 Love from India
@TechWithTim
@TechWithTim 5 жыл бұрын
Well thank you
@RonnieLutaro
@RonnieLutaro 5 жыл бұрын
This guy is good
@pillowrabbit8324
@pillowrabbit8324 4 жыл бұрын
@@RonnieLutaro he is not good , he is a god
@domingoalvarez3984
@domingoalvarez3984 4 жыл бұрын
The error that you got in minute 9:35 is because in the past video you deleted the record with Id 1
@mejiab19
@mejiab19 3 жыл бұрын
Yes!! The ID auto increment does not reset back to 1 so even though he deleted items and then added two other records Id 1 will not be used again it will start from id 2 and forward. There is a way I believe to reset the Id but usually not something you would want to do with a database.
@snartgaming4922
@snartgaming4922 Жыл бұрын
@@mejiab19 hey bro just lettin you know you out here savin souls
@Optimus333
@Optimus333 4 жыл бұрын
"Awesome" You're awesome Tim! Amazingly well structured and explained!
@ankitaburman5406
@ankitaburman5406 3 жыл бұрын
Wow Tim u r amazing, learning a lot from you
@congthanhtran1894
@congthanhtran1894 3 жыл бұрын
i noticed we can also add item to the to do list through admin dashboard, that is so cool, thanks for the awesome tutorial!!
@abdulrahmankhaldi6697
@abdulrahmankhaldi6697 4 жыл бұрын
Tim is a LEGEND! thanks bro, i really appreciate ur hard work
@AshuArora-w2e
@AshuArora-w2e 3 ай бұрын
tim bro you are awsomeee
@leon.dev89
@leon.dev89 2 ай бұрын
Very good video
@shyren_more
@shyren_more 4 жыл бұрын
Yeah please, it would be awesome to learn Django down to deployment!!!
@brendanglancy1268
@brendanglancy1268 4 жыл бұрын
Great tutorials
@labibmimon2668
@labibmimon2668 3 жыл бұрын
You could insert items from admin.
@addtrash7983
@addtrash7983 4 жыл бұрын
I love your content Tim! Keep going you're helping a lot i really thank you !
@stefanmiloradovic3341
@stefanmiloradovic3341 3 жыл бұрын
actually, it's: "I love your {% block content %}{endblock} Tim!"... :) :D B)
@ericgutierrez347
@ericgutierrez347 4 жыл бұрын
Yo, I'm learning alot about Django from your vids. I was just wondering if you mind sharing any references of how you learned Django, like books, websites, whatever. I'm going to stick through your series, I'm just wondering how you learned.
@MrKayraKan
@MrKayraKan 4 жыл бұрын
omg i just saw ur "text-based tutorial" man really ty. I followed so many channel udemy courses etc but u are amazing. Ty for everything. Hi from Turkey and srry for my bad english btw. :)
@TheBigCheezeIt
@TheBigCheezeIt 4 жыл бұрын
For anyone coming to this video directly, not sure if it was covered in the lessons prior, but you may need to modify your settings.py file. In the INSTALLED_APPS array, add 'main', to the end of the array so it searches in the right place. I was having a TemplateNotFound error before I did that.
@Linuxovert
@Linuxovert 4 жыл бұрын
clarify please, i'm facing the same issue
@TheBigCheezeIt
@TheBigCheezeIt 4 жыл бұрын
@@Linuxovert Find INSTALLED_APPS and just add a line to it that says 'main',
@mejiab19
@mejiab19 3 жыл бұрын
adding 'main.apps.MainConfig' at the end of the INSTALLED_APPS also works which is what Tim added in previous videos
@ashleymutenha5093
@ashleymutenha5093 2 жыл бұрын
thank you you helped me
@livecoderepeat7036
@livecoderepeat7036 5 жыл бұрын
Cant wait to catch up! Thank you for this, really helping me elevate
@PRIYANKAARDU
@PRIYANKAARDU Жыл бұрын
at 8:57 my server is running well but it isn't displaying the base.html contents like the output that you've got, but instead i'm getting the output page of - the install worked successfully
@user-wb1yh8sm1w
@user-wb1yh8sm1w 6 ай бұрын
you just need to add 'main' to installedapps[ ] in settings so html could render
@brutalshiteater
@brutalshiteater 4 жыл бұрын
This tutorial is super awesome! Thanks so much for doing it!
@shiva34490
@shiva34490 4 жыл бұрын
You are awsome mannnnnnn
@cake4822
@cake4822 2 жыл бұрын
thank you sir :D
@Kaellyn_999
@Kaellyn_999 2 жыл бұрын
Wooo What just happened in my life! cuteee 😄😄
@RetryMarchel
@RetryMarchel 4 жыл бұрын
Thank you for this tutorial bro !
@Jonnhy0989
@Jonnhy0989 4 жыл бұрын
Awesome!
@gunahawk6893
@gunahawk6893 4 жыл бұрын
Tim make a Odoo tutorial it's just like Django
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
That was cool, indeed! Took me 2 days, but was very interesting
@Unknown007x
@Unknown007x 5 жыл бұрын
Great video looking forward for the next ones 👍
@TechWithTim
@TechWithTim 5 жыл бұрын
Thank you :)
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
WHy is the parameter for the functions like index and home is "response". Is it not a request, or something that goes IN the function (like a question), not OUT like a response?
@nakorns320
@nakorns320 3 жыл бұрын
Cleary, thank you for your teaching.
@rezaabdolahi3092
@rezaabdolahi3092 2 жыл бұрын
thanks for sharing. you are best!
@armandtvanzyl4544
@armandtvanzyl4544 4 жыл бұрын
sup Tim. Im getting a postitional argument follows keyword argument when i try and create a new item in the item sets. I ONLY get this error when I add the complete == False. Can you assist please?
@efamir8225
@efamir8225 3 жыл бұрын
thank you for this tutorials
@simoncarter3541
@simoncarter3541 2 жыл бұрын
Very helpful tutorial 👍
@manish93channel
@manish93channel 5 жыл бұрын
This is amazing content!
@cloudcraft2862
@cloudcraft2862 4 жыл бұрын
For some reason it comes up as an error, saying that "list() missing 1 required positional argument: 'id'" in the index function(I named is list instead of index), can someone please help me :(
@paia6447
@paia6447 Жыл бұрын
Can I name the block content and endblock as anything i want?
@sainco3036
@sainco3036 5 жыл бұрын
thanks.
@idineshroy
@idineshroy 4 жыл бұрын
We don't need another directory named as the app name in the template ('main' as in this tutorial). Just template directory will do.
@pabloyanez9469
@pabloyanez9469 4 жыл бұрын
keep the good work :) saludos de chile y muchas gracias ! much thx !
@tolstoievski4926
@tolstoievski4926 5 жыл бұрын
In my view file, in the index fonction, it doesn't recognize th id parameters. There's also another problem, the id of my entries in my database begins at 2 which is strange
@cloudcraft2862
@cloudcraft2862 4 жыл бұрын
I have the same problem, so can someone help us please?
@weixiangzhao561
@weixiangzhao561 2 жыл бұрын
Hi Tim, do we have the github link for the code in this tutorial?
@baptistaguivala4791
@baptistaguivala4791 Жыл бұрын
Greetings I ask for your help I have a problem here can I share my problem?
@theruralstruggles64
@theruralstruggles64 3 жыл бұрын
can't we add items and todolist from django admin page
@michsx1234
@michsx1234 2 жыл бұрын
Hello, can somebody explain what means "item_set"?? is this some kind function or what ?
@josefranciscoramirezrodrig1726
@josefranciscoramirezrodrig1726 5 жыл бұрын
Hi Tim! Very nice explanations, I have a question, could you make a video of how to use graphs from matplotlib in Django for a site? Thanks
@Ushq_QgA
@Ushq_QgA Жыл бұрын
No he won't
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
The page below "Enroll in THe Fundamentals..." doesn't work
@grandorigins6682
@grandorigins6682 4 жыл бұрын
Hi Tim, assuming I have multiple apps. When creating a templates folder to store my base.html is it okay to store this folder within an application and inherit across other applications or should I add it to BASE_DIR and have its hierarchy be equal to that of the project folder. Thank you. Your KZbin channel is great btw.
@jadrianverkouteren3799
@jadrianverkouteren3799 3 ай бұрын
It is very discouraging that when one makes a single mistake, one cannot go back and correct it but must start the series from scratch to rebuild the entire database in order to go to the next lesson. There seems to be no way to download a correct database to start the next lesson.
@khandakerzoadpial453
@khandakerzoadpial453 3 жыл бұрын
Can anyone help me about how can I grab next next element of for loop in the template?
@hjluna7760
@hjluna7760 4 жыл бұрын
why I keep havinf the error someone advice me plz OperationalError at /3 no such table: main_todolist
@amankaushik5833
@amankaushik5833 4 жыл бұрын
because you need to run makemigrations and migrate on your database.....
@siamahmed8287
@siamahmed8287 3 жыл бұрын
Tim I need your help.
@kennethlourisombrog2149
@kennethlourisombrog2149 9 ай бұрын
Hey, I am a beginner aspiring programmer. May I ask on why did we say complete=False (capital F coz f doesn't work) in this First Item at 23:06? Thank you.
@nikolettakotora4642
@nikolettakotora4642 8 ай бұрын
In Python, that's how you define a false boolean value with a capital F, otherwise, you'll have an error.
@KarimELKHANOUFI
@KarimELKHANOUFI 4 ай бұрын
20:42
@SafikMaster
@SafikMaster 5 жыл бұрын
at 22:44 When I enter ls = ToDoList.objects.get(id=2) it comes back saying that ToDoList is not defined, but I do have an item from that list displayed on 127.0.0.1:8000/1. What can I do? Does my list have a different name somehow? Is there a way to check it?
@rashaad2431
@rashaad2431 4 жыл бұрын
Hello, I have the same problem. Do you have a solution for it?
@shyren_more
@shyren_more 4 жыл бұрын
Way to check it in your shell, check how many todolist are present, by typing from main.models import ToDoList ls = ToDoList.objects.all() ls Hopefully your queryset will have only one item, since you are getting that ToDoList at id=2 does not exist else that is multiple list exist in your ToDoList Model, define another function which will return the id for particular list def get_id(self): return str(self.id) By using this function you can get the appropriate id Hope this helps !!
@jadrianverkouteren3799
@jadrianverkouteren3799 3 ай бұрын
@@shyren_more I typed this in, but so far the shell prompt does not recognize it when I try to use it. I have two items in the ToDoList query results when I should only have one, and this prevents me from proceeding further with the lessons. If the DB were set up in MySQL, I could go in and correct the list; but being in SQLite, the DB is not so easily directly manipulated.
@shyren_more
@shyren_more 3 ай бұрын
@@jadrianverkouteren3799 no clue bro, it's been long since I have used Django/Python :)
@annadonts
@annadonts Жыл бұрын
I get a TemplateDoesNotExist error, can anyone help please 😭
@Meenimie
@Meenimie Жыл бұрын
Comment.
@peterz1236
@peterz1236 4 жыл бұрын
The 3 people who voted down, accidently deleted their trash bin.
@ratnavelmakesan4072
@ratnavelmakesan4072 5 жыл бұрын
Plz leave a tutorial on this!
@crustindanglade6036
@crustindanglade6036 4 жыл бұрын
Dude this is such a good explanation, is there a place where I can send you a shekel or 2, I get paid 2moro.
@TechWithTim
@TechWithTim 4 жыл бұрын
I have a Patreon! Or u can always send stuff through PayPal to my email which can be found in the description and the about page of my channel
@ratnavelmakesan4072
@ratnavelmakesan4072 5 жыл бұрын
How do u make an online 2 player gun game?
@js-0018
@js-0018 4 жыл бұрын
:)
@annujolly3024
@annujolly3024 4 жыл бұрын
This is amazing content!
@TheWronboy
@TheWronboy 3 жыл бұрын
i cant parse my block from home to base.html, helpppp
Django Tutorial - Simple Forms
21:56
Tech With Tim
Рет қаралды 79 М.
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,3 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 136 МЛН
Django Tutorial - SQLite3 DataBase Tutorial
22:49
Tech With Tim
Рет қаралды 183 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 414 М.
Django Tutorial - Setup, Installation and Page Navigation
20:28
Tech With Tim
Рет қаралды 301 М.
Django Tutorial - Custom Forms
14:33
Tech With Tim
Рет қаралды 59 М.
Django Base Template | Django Project | djblogger | 23
13:19
Very Academy
Рет қаралды 15 М.
Django Tutorial - How to Add Bootstrap
14:48
Tech With Tim
Рет қаралды 83 М.
Python Django App & Templates tutorial
23:07
Dave Gray
Рет қаралды 21 М.
How to Render Django Templates with HTML
12:04
Tony Teaches Tech
Рет қаралды 7 М.
Django Tutorial - Login, Logout and User Authentication
13:44
Tech With Tim
Рет қаралды 131 М.
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН