Views and Templates - Django Web Development with Python p.4

preview_player
Показать описание
Welcome to part 4 of the web development with Django and Python tutorial series, where we will be talking more in depth about views, interacting with models, and templating.

#django #web-development #python
Рекомендации по теме
Комментарии
Автор

From my understanding you take things And that's what i love about your tutoring method!!! Thanks again!! I watch your videos like 3-4 times to grasp whats happening..!

akiratoriyama
Автор

I really wish you share with us what are you drinking in every episode and your cool collections of mugs.

Love Sentdex.

soufianefariss
Автор

To anyone having issues with the css/js references use this code:
(in head): <link href="{% static "tinymce/css/prism.css" %}" rel="stylesheet">
(in body): <script src="{% static "tinymce/js/prism.js" %}"></script>

adabrew
Автор

you are the best teacher, i come back gain and again learning something new each time! Your aura makes me feel comfortable when coding in django, your videos are such a help for me. django is a steep mountain to climb but these tutorials make the mountain a hill

chronicsnail
Автор

Sentdex + stack overflow = my real education

mrfrozen-despicable
Автор

These videos are fantastic! It might just be me but your head looks like it's getting physically bigger each episode. Too much knowledge!

thelastpizzaroll
Автор

Really enjoying your videos on Django. I've accepted the challenge to put a freela working in django and your hands-on tutorials are helping a lot

fontanettie
Автор

Thank you for making this tutorial series. I think I'm learning a lot!

drakibble
Автор

10:28 Hit Ctrl + Shift + D (Duplicate line) or ⌘ + ⇧ + D (Duplicate Line)
10:59 Ctrl + U

ignasmozuraitis
Автор

6:41 you can specify template folder name in templates of main setting app
'DIRS': [os.path.join(BASE_DIR, 'main'), ], it will find automatically

gvishal
Автор

Thanks for the tutorial, you done a great job 👍 👍

kumaryogesh
Автор

I ran into an issue when adding "tutorials": Tutorial.objects.all right around 3:15 into the video. I'm working in VSC and the error message says Class 'Tutorial' has no 'objects' memberpylint(no-member). I noticed a few other people have had the same issue, but if someone could please help I would appreciate it.

holdtightmedia
Автор

You can define DIRS in templates in settings.py, to define a folder for templates. Then you don’t need that weird template path

MagnusAnand
Автор

At 11:35, you said it is not safe if we are using a safe flag for forum page or something. So is there an alternative to that? How to do that actually?

subikeshps
Автор

Thanks bro! Any change of getting a Django REST tutorial after this? Keep up the good work.

DanteS
Автор

Okay, Sentdex, I really appreciate your lecture really helpful, ..

Please, I have a little problem trying to the views and templates.

emmanueljimah
Автор

Will you show at the end of the series how to publish our website on the free domain to test how it works?

heyoufellow
Автор

In case anyone like me has bad eyes or is getting all the similarly named folders and files mixed around, your folder structure should now be:
mysite/
|----main/
|----|----templates/
|----|----|----main/
|----|----|----|----home.html
|----mysite/

hohhoch
Автор

At 5:16, after importing the Tutorial model, it shows an error for Tutorial.objects.all. It shows that, apparently, the class "Tutorial" does not have an 'objects' member, Can you please help?

sausthava
Автор

Wow 243 likes (now 244) and 0 dislikes! That's impressive!

tbtitans
welcome to shbcf.ru