Django Apps, Views and Templates (A Beginners look)

preview_player
Показать описание

In this video I give you a beginners look at:
1) Creating a Django app
2) Django views
3) html templates with django
4) Django urls

Рекомендации по теме
Комментарии
Автор

u forgot to mention add import os so that the line 62 from settings.py wont have error name os not defined

fazrinmegat
Автор

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!

dudiyalov
Автор

Hey if "os.path.join(BASE_DIR, 'template')" doesnt work for you at 14:45 remove that and add the file location like this

saudzubedi
Автор

This is really helpful! So thankful for your knowledge!

donnaesperas
Автор

thanks for teaching step by step... very helpful.

pushpamuralidhar
Автор

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❤️

bennyuchiha
Автор

Thanks for the step-by-step info, it is really easy to follow!! Keep 'em coming please :)

medatre
Автор

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 !

nassimback
Автор

Finally I am in right place for learning.. thanks for wonderful teaching..

samsclips
Автор

Having difficulties with the templates, i receive an error that says that the template does not exist

bennyuchiha
Автор

Impatiently waiting for the next video.

amirminay
Автор

Thank you for the efforts you put into explaining to us step by step

kingmop
Автор

Fucking goat dude. You explain django better than most people.

djStens
Автор

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?

manvithyadavdega
Автор

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?

magallonseancarl
Автор

Cls will do in windows.... I took challenge that I am gonna finish this course from tip to toe...

kharagkunchok
Автор

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>

alidhaif
Автор

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?

pamelapricesoullinedancing
Автор

it doesn't work. it raises error in urls.py file "import personal.views could not be resolved".

vasiliapilali
Автор

i have a complain after i run the server on chapter 7 it shows os not define

tjaphyze