Hey if "os.path.join(BASE_DIR, 'template')" doesnt work for you at 14:45 remove that and add the file location like this "C:\DjangoProjects\Saudwebsite\src\templates"
@deadman19993 жыл бұрын
anyone knows how to really fix this without having the whole directory there like that?
@toshio19323 жыл бұрын
@@deadman1999 in django 3 put only 'templates' in DIRS
@deadman19993 жыл бұрын
@@toshio1932 Hey thanks for the reply, I am not working on that project anymore, but the solution is very much appreciated. Maybe someone will find it useful :)
@dazstuff18752 жыл бұрын
@@toshio1932 I had to change to 'mysite/templates'
@yakoobalhsone81312 ай бұрын
@@dazstuff1875 thx its work
@bennyuchiha85012 жыл бұрын
Dude... your content is so good and so well broken down youtube is doing you dirty man, i'm new here and imma stick around to learn a lot, love what you're doing here❤️
@medatre47925 жыл бұрын
Thanks for the step-by-step info, it is really easy to follow!! Keep 'em coming please :)
@alidhaif98694 жыл бұрын
at 9:00 when i type the code in setting.py/templates/dirs the BASE_DIR up in the page doesn't change? why isnt it changing please help me i have to submit 50% of my website in 3 days>
@borisdominguez90894 жыл бұрын
How'd the website go?
@bennyuchiha85012 жыл бұрын
Having difficulties with the templates, i receive an error that says that the template does not exist
@donnaesperas37394 ай бұрын
This is really helpful! So thankful for your knowledge!
@samsclips86822 жыл бұрын
Finally I am in right place for learning.. thanks for wonderful teaching..
@dudiyalov4 жыл бұрын
You did make a mistake in this video part: ERROR: 'tuple' object has no attribute 'get' when you had made a mistake in the views.py. You did not wrote return render(request, 'base.html', {},) so without the "render" people will get error!
@pushpamuralidhar67746 ай бұрын
thanks for teaching step by step... very helpful.
@manvithyadavdega39214 жыл бұрын
Hello! I was asked to log in to the admin page. But I don't remember I created any user account. What to do now?
@OfficerRakesh4 жыл бұрын
time: 14:45 I didn't get this the body..... there is template error "from personal.views import home_screen_view'
@adithyajjayasimha34934 жыл бұрын
go to views and change home_screen to home_screen_views
@fazrinmegat59494 жыл бұрын
u forgot to mention add import os so that the line 62 from settings.py wont have error name os not defined
@marliaren4 жыл бұрын
hello, this happened to me. where do I put the import os?? thank youuu in advance :))
@supriyavunnava41474 жыл бұрын
@@marliaren Add this import os from pathlib import Path in 12th line of settings.py hope this helps
@zuriatnaveed67234 жыл бұрын
Thanks a lot ...my error also solved 👍
@zuriatnaveed67234 жыл бұрын
I am getting error in form.view import home_screen....do u know the solution??
@b.sainathreddy45673 жыл бұрын
iam getting this error after adding import os do u know how to solve it : 'NAME': BASE_DIR / 'db.sqlite3', TypeError: unsupported operand type(s) for /: 'str' and 'str'
@shayansen861 Жыл бұрын
Great vid 🤩
@magallonseancarl4061 Жыл бұрын
Hi Mitch, followed everything you did but when I run the server, nothing shows on the page. It's just blank. What could be causing it?
@kingmop7249 Жыл бұрын
Thank you for the efforts you put into explaining to us step by step
@amirminay75115 жыл бұрын
Impatiently waiting for the next video.
@codingwithmitch5 жыл бұрын
haha. Todays sunday so It'll prob be tomorrow.
@sreyasreeya87243 жыл бұрын
I am getting if response.get('X-Frame-Options') is not None: AttributeError: 'tuple' object has no attribute 'get' [04/Jun/2021 16:00:00] "GET / HTTP/1.1" 500 59604 error
@prathmeshmaurya57764 жыл бұрын
I am getting an error in "from personal.views import home_screen_view'. I have checked for the correct hierarchy order of the directories. Any guesses, I am on Windows ?
@OfficerRakesh4 жыл бұрын
same here I get a problem with "from personal.views import home_screen_view'
@tjaphyze7973 Жыл бұрын
i have a complain after i run the server on chapter 7 it shows os not define
@djStens3 жыл бұрын
Fucking goat dude. You explain django better than most people.
@pamelapricesoullinedancing93694 жыл бұрын
I am trying to be clear about an app in a project. What defines what should be considered an "app"? Would it be possible to put all your site functionality into a single app? Is it mostly about convenience and organization? The "apps" can talk to each other right?
@nassimback4 жыл бұрын
after watching this whole playlist i noticed that i didn't press the like button on any of your videos ,so i just started pressing it on each video !if u have a python program that'll help me like your videos automatically send it LOL !
@codingwithmitch4 жыл бұрын
Thanks I appreciate that
@vasiliapilali8052 Жыл бұрын
it doesn't work. it raises error in urls.py file "import personal.views could not be resolved".
@salehbensaleh46404 жыл бұрын
i got problem here ,server not working, cmd msg sais' Nameerror : name templates is not defined' .. help plz
@davidsimunyola29094 жыл бұрын
hey man my server stopped working after creating the app personal need help
@ghartube95624 жыл бұрын
have you find solution?
@rohansrinivas3074 жыл бұрын
Mine too... What should I do
@davidsimunyola29094 жыл бұрын
Not yet
@ShubhamSauravYT5 жыл бұрын
Thanks for the video. I just wanted to ask a question. My question is: How does the view.py file knows that the base.html file is in template directory? Is it because of what we did in the settings.py file?
@eliasnicolas64435 жыл бұрын
Yes...
@deekshasavarnika83054 жыл бұрын
Hi, this video helped me a lot thank you. I followed all the steps as you suggested, but here's an error as below when I run the command to check the server is active OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '' Then I tried to run the command python manage.py migrate (above error has gone) but I received another error as below: ModuleNotFoundError: No module named fitnessApp(name which I gave for my app) Am not sure what exactly is missing that's causing the error. Could you please help me out with this?
@pranithmahanti72083 жыл бұрын
15:36 it's cls in Windows
@jamesmusembi1241 Жыл бұрын
cls to clear in windows
@Ahmed-iam Жыл бұрын
Well explained
@bonfacenderitu90213 жыл бұрын
to clear the screen use cls in windows
@kharagkunchok5 жыл бұрын
Cls will do in windows.... I took challenge that I am gonna finish this course from tip to toe...
@marliaren4 жыл бұрын
what do I do, this happened after running the server again (after setting up url and views)... 'NAME': BASE_DIR / 'db.sqlite3', TypeError: unsupported operand type(s) for /: 'str' and 'str'
AttributeError: 'WSGIRequest' object has no attribute 'hearders' how to solve this error?
@amarnadhnagireddy40034 жыл бұрын
I getting error in settings.py 'DIRS' os error plz tell me how to cure it
@amarnadhnagireddy40034 жыл бұрын
Skipter thank you for suggestion I will try it
@hooverzavala80714 жыл бұрын
use bigger zoom to show the code please.
@MDDanishAnsariDev5 жыл бұрын
It's cls to clear terminal screen in Windows
@codingwithmitch5 жыл бұрын
Damnit I knew it was cl something
@MDDanishAnsariDev5 жыл бұрын
@@codingwithmitch hahaha
@kielmacapagal1453 Жыл бұрын
CLS to Clear
@hawraaabdulrazzaq8371 Жыл бұрын
thanks so much
@KevinTempelx4 жыл бұрын
Thank you!
@sethzoid4033 Жыл бұрын
doesnt work anymore
@sethzoid4033 Жыл бұрын
nevermind
@ShivKumar-lg7rc2 жыл бұрын
third party API integration using curl in Django
@documentingjourney75272 жыл бұрын
Why you do a tutorial with a bunch of errors, we are all stuck on home screen view or views and dir base, we do not get to the body page or base html, wasted bunch of time following this tutorial
@kossy_bml4407 Жыл бұрын
I think this error is of recent
@claytontill5 ай бұрын
I found that you're code not same the default code and pythons spitting out how heap errors I found you're tutorial very unhelpful hard follow long with
@murphyscott5264 Жыл бұрын
!!!!!!!! paste : import os in your url if server is not running
@pushpamuralidhar67746 ай бұрын
thanks for the fix
@erickramones21675 жыл бұрын
thanks for the django tutorials, they are great but consider not to give too much explanation, try to be more direct. If someone is watching these tutorial is because they already have some knowledge about programming. I thinks Django is a bit confusing because It is not being easy for me to learn django. I know spring java web development, design patterns and I work as an android developer. I love your android tutorials, they are great.
@jdecrz2 жыл бұрын
Don't listen to him. Please give a lot of explanations to every detail you consider needs to be told because is very important to know what he just did.