No video

Django Tutorial - Templates & Custom HTML

  Рет қаралды 110,393

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 91
@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
@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
@anakinskywalkerrr
@anakinskywalkerrr 5 жыл бұрын
Yes! full website tutorial till deployment :), my boy actually answer the comments
@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.
@domingoalvarez3984
@domingoalvarez3984 3 жыл бұрын
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 11 ай бұрын
@@mejiab19 hey bro just lettin you know you out here savin souls
@rajatparab8116
@rajatparab8116 5 жыл бұрын
Eagerly waiting for future videos of django .Nice explanation 👍👍 Love from India
@TechWithTim
@TechWithTim 5 жыл бұрын
Well thank you
@RonnieLutaro
@RonnieLutaro 4 жыл бұрын
This guy is good
@pillowrabbit8324
@pillowrabbit8324 4 жыл бұрын
@@RonnieLutaro he is not good , he is a god
@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"
@Optimus333
@Optimus333 4 жыл бұрын
"Awesome" You're awesome Tim! Amazingly well structured and explained!
@abdulrahmankhaldi6697
@abdulrahmankhaldi6697 4 жыл бұрын
Tim is a LEGEND! thanks bro, i really appreciate ur hard work
@lecomtegaetan8120
@lecomtegaetan8120 3 ай бұрын
thank you for all your videos , they are always great !
@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 3 ай бұрын
you just need to add 'main' to installedapps[ ] in settings so html could render
@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!!
@AshuArora-w2e
@AshuArora-w2e 8 күн бұрын
tim bro you are awsomeee
@livecoderepeat7036
@livecoderepeat7036 5 жыл бұрын
Cant wait to catch up! Thank you for this, really helping me elevate
@ankitaburman5406
@ankitaburman5406 3 жыл бұрын
Wow Tim u r amazing, learning a lot from 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?
@tolstoievski4926
@tolstoievski4926 4 жыл бұрын
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 3 жыл бұрын
I have the same problem, so can someone help us please?
@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. :)
@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)
@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 3 жыл бұрын
clarify please, i'm facing the same issue
@TheBigCheezeIt
@TheBigCheezeIt 3 жыл бұрын
@@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
@cloudcraft2862
@cloudcraft2862 3 жыл бұрын
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 :(
@jadrianverkouteren3799
@jadrianverkouteren3799 4 күн бұрын
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.
@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?
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
The page below "Enroll in THe Fundamentals..." doesn't work
@shyren_more
@shyren_more 3 жыл бұрын
Yeah please, it would be awesome to learn Django down to deployment!!!
@Unknown007x
@Unknown007x 5 жыл бұрын
Great video looking forward for the next ones 👍
@TechWithTim
@TechWithTim 5 жыл бұрын
Thank you :)
@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.
@baptistaguivala4791
@baptistaguivala4791 Жыл бұрын
Greetings I ask for your help I have a problem here can I share my problem?
@labibmimon2668
@labibmimon2668 3 жыл бұрын
You could insert items from admin.
@kennethlourisombrog2149
@kennethlourisombrog2149 6 ай бұрын
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 5 ай бұрын
In Python, that's how you define a false boolean value with a capital F, otherwise, you'll have an error.
@brendanglancy1268
@brendanglancy1268 4 жыл бұрын
Great tutorials
@michsx1234
@michsx1234 2 жыл бұрын
Hello, can somebody explain what means "item_set"?? is this some kind function or what ?
@2tiddies404
@2tiddies404 3 жыл бұрын
this was good and I actually learned stuff from it. Thanks tim.
@RetryMarchel
@RetryMarchel 4 жыл бұрын
Thank you for this tutorial bro !
@paia6447
@paia6447 Жыл бұрын
Can I name the block content and endblock as anything i want?
@brutalshiteater
@brutalshiteater 4 жыл бұрын
This tutorial is super awesome! Thanks so much for doing it!
@TheWronboy
@TheWronboy 3 жыл бұрын
i cant parse my block from home to base.html, helpppp
@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.....
@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.
@nakorns320
@nakorns320 3 жыл бұрын
Cleary, thank you for your teaching.
@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 9 ай бұрын
No he won't
@grandorigins6682
@grandorigins6682 3 жыл бұрын
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 KZfaq channel is great btw.
@SafikMaster
@SafikMaster 4 жыл бұрын
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 3 жыл бұрын
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 4 күн бұрын
@@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 4 күн бұрын
@@jadrianverkouteren3799 no clue bro, it's been long since I have used Django/Python :)
@manish93channel
@manish93channel 5 жыл бұрын
This is amazing content!
@theruralstruggles64
@theruralstruggles64 3 жыл бұрын
can't we add items and todolist from django admin page
@AnnaIsHere
@AnnaIsHere 2 жыл бұрын
That was cool, indeed! Took me 2 days, but was very interesting
@shiva34490
@shiva34490 4 жыл бұрын
You are awsome mannnnnnn
@weixiangzhao561
@weixiangzhao561 2 жыл бұрын
Hi Tim, do we have the github link for the code in this tutorial?
@Kaellyn_999
@Kaellyn_999 2 жыл бұрын
Wooo What just happened in my life! cuteee 😄😄
@khandakerzoadpial453
@khandakerzoadpial453 2 жыл бұрын
Can anyone help me about how can I grab next next element of for loop in the template?
@gunahawk6893
@gunahawk6893 4 жыл бұрын
Tim make a Odoo tutorial it's just like Django
@annadonts
@annadonts Жыл бұрын
I get a TemplateDoesNotExist error, can anyone help please 😭
@pabloyanez9469
@pabloyanez9469 4 жыл бұрын
keep the good work :) saludos de chile y muchas gracias ! much thx !
@simoncarter3541
@simoncarter3541 2 жыл бұрын
Very helpful tutorial 👍
@cake4822
@cake4822 2 жыл бұрын
thank you sir :D
@Jonnhy0989
@Jonnhy0989 4 жыл бұрын
Awesome!
@rezaabdolahi3092
@rezaabdolahi3092 2 жыл бұрын
thanks for sharing. you are best!
@efamir8225
@efamir8225 2 жыл бұрын
thank you for this tutorials
@user-td8yq7kc8k
@user-td8yq7kc8k Ай бұрын
20:42
@sainco3036
@sainco3036 5 жыл бұрын
thanks.
@xxxxxGhostBoyxxxxx
@xxxxxGhostBoyxxxxx 3 жыл бұрын
12:58 HAHAAHAHAHAHAHHAHAAHA i'm sorry. I just had to make this comment. Okay. Back to Tim With Tech tutorial.
@siamahmed8287
@siamahmed8287 3 жыл бұрын
Tim I need your help.
@Meenimie
@Meenimie Жыл бұрын
Comment.
@michaele2826
@michaele2826 3 жыл бұрын
The 3 people who voted down, accidently deleted their trash bin.
@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 жыл бұрын
:)
@ratnavelmakesan4072
@ratnavelmakesan4072 5 жыл бұрын
Plz leave a tutorial on this!
@annujolly3024
@annujolly3024 4 жыл бұрын
This is amazing content!
Django Tutorial - Simple Forms
21:56
Tech With Tim
Рет қаралды 78 М.
Build a Blog using Django, Python, and Bootstrap
2:18:26
Legion Script
Рет қаралды 12 М.
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 37 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,6 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 34 МЛН
Extends Base.html For Navbars - Python Django Dentist Website #8
17:35
Python Django Tutorial: Full-Featured Web App Part 3 - Templates
45:45
How To Practice Programming So You Actually Get Good
15:46
Tech With Tim
Рет қаралды 132 М.
Django Tutorial - SQLite3 DataBase Tutorial
22:49
Tech With Tim
Рет қаралды 178 М.
Astro Quick Start Course | Build an SSR Blog
2:44:04
Traversy Media
Рет қаралды 57 М.
Django Authentication & User Management - Full Tutorial
2:20:03
Tech With Tim
Рет қаралды 174 М.
How I Did The SELF BENDING Spoon 😱🥄 #shorts
00:19
Wian
Рет қаралды 37 МЛН