Django Level One Getting Started with Django!


Download 0.73 Mb.
bet13/14
Sana05.01.2022
Hajmi0.73 Mb.
#225180
1   ...   6   7   8   9   10   11   12   13   14
Bog'liq
Django Level One

Django

  • We will use this os module to feed the path to the DIR key inside of the TEMPLATES dictionary.
  • Once we’ve done that we can create an html file called index.html inside of the templates/first_app directory

Django

  • Inside this HTML file we will insert template tags (a.k.a Django Template Variable).
  • These template variables will allow us to inject content into the HTML directly from Django!

Django


Download 0.73 Mb.

Do'stlaringiz bilan baham:
1   ...   6   7   8   9   10   11   12   13   14




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling