How To Use Templates and Custom HTML - Django Wednesdays #3

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 79

  • @Codemycom
    @Codemycom  3 ปีที่แล้ว +4

    ▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My TH-cam Channel:
    bit.ly/35Xo9jD bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN

  • @DCMPSaliva
    @DCMPSaliva 2 ปีที่แล้ว +6

    You already taught me python, SQL, then flask, now im learning django. I cant engage with most other tutorials. And these skills have helped net me an extra 10k a year. I cant thank you enough.

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว +1

      Very happy to hear that!

  • @med12med
    @med12med 2 ปีที่แล้ว +1

    I can't get enough of this Django tutorial series. It's really amazing.

  • @alcidesmarcano
    @alcidesmarcano 3 ปีที่แล้ว +2

    Thank you John for another Django masterclass!

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Thanks for watching!

  • @insteadtechsolutions4276
    @insteadtechsolutions4276 ปีที่แล้ว

    Great going John, you are an awesome teacher.

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      Thanks! Glad you're enjoying the videos!

  • @محمدخلیلی-خ2س
    @محمدخلیلی-خ2س ปีที่แล้ว

    I like the way you teach

  • @palomalimeira
    @palomalimeira 2 ปีที่แล้ว

    Great job on your Channel! I'm loving it! Cheers from BR :)

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว +1

      Thanks! Happy to have you here!

  • @xanderkaufman5162
    @xanderkaufman5162 2 ปีที่แล้ว

    John, I'd like to learn how to first, load the calendar on a separate page and then make the full calendar clickable to list the events for that month. Maybe even make the dates on the calendar clickable. Can you revisit the calendar portion to do this? Loving the content.

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Making it clickable is a bit of an issue...there's no real easy way to do it. It's possible, but it takes quite a bit...

  • @dkchoudhary6115
    @dkchoudhary6115 3 ปีที่แล้ว +1

    Thanks for the great video

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +1

      You're very welcome

  • @ОленаЄфименко-б6ю
    @ОленаЄфименко-б6ю 2 ปีที่แล้ว

    Thank you for your hard work! Emazing!

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Most Walcome!

  • @stevenodutu7804
    @stevenodutu7804 ปีที่แล้ว

    like your videos keep it up

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      There's a ton more videos on this playlist already.

  • @grant4458
    @grant4458 9 หลายเดือนก่อน

    Brilliant

    • @Codemycom
      @Codemycom  9 หลายเดือนก่อน

      🙂

  • @mahdisamadi1647
    @mahdisamadi1647 2 ปีที่แล้ว

    that's gooooood thanks❤❤❤

  • @aanshkotian9394
    @aanshkotian9394 3 ปีที่แล้ว

    Great video, Thank you!!

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Glad you liked it!

  • @rafhaellowixhomwad
    @rafhaellowixhomwad 5 หลายเดือนก่อน

    Thank you

    • @Codemycom
      @Codemycom  5 หลายเดือนก่อน

      Welcome

  • @RobertESmith-tx6ge
    @RobertESmith-tx6ge 3 ปีที่แล้ว +1

    Just an FYI on the Base HTML definition {% extends "events/base.html" %} in the home.html. This was defined in the video with single quote marks [' '], did not work. Changed to double quotes [" "] now works okay. Platform: Windows 10, Django 3.2.5.

  • @learnwithnawf246
    @learnwithnawf246 3 ปีที่แล้ว

    Thank you for your efforts sir

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      It's my pleasure

  • @jadenstraw1364
    @jadenstraw1364 2 ปีที่แล้ว

    Hi John, I'm quite new to coding and I'm having a little bit of an issue with the html templates. Whenever I try to include the navbar.html file in the base.html file, I get a max recursion error. Is there a way I can work around this? I'm currently doing the directories slightly different. The base, navbar and home.html files are in a separate "templates" directory, which is one folder up (same level as events app) to centralize everything. The other web page .html file is in the templates directory inside the events app. I Hope what i said is not too confusing.
    Thank you for the great videos, you have taught me a great deal!!

  • @kristynaherman5737
    @kristynaherman5737 ปีที่แล้ว

    Hi John, how would you do it if you wanted the navbar button to always lead to the current month and not "March'? How would you put it in your href? Thanks in advance!

  • @elvisdelatorre5763
    @elvisdelatorre5763 3 ปีที่แล้ว

    Great video ✌️👌

  • @hiwab41
    @hiwab41 3 ปีที่แล้ว

    THanks you helped me

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Glad to help!

  • @prasangaprix2133
    @prasangaprix2133 2 ปีที่แล้ว

    yaa! but, How Do I use CSS manually, In this Calendar project.

  • @KaziMdTawhid
    @KaziMdTawhid 3 ปีที่แล้ว

    "Remember me?"😍

  • @killcam8071
    @killcam8071 2 ปีที่แล้ว

    tnx man i subscribe u

  • @birdyperch
    @birdyperch 3 ปีที่แล้ว +1

    Love your tutorials, thank you so much for all you do!
    I am having an issue with passing parameters to the URL tag. When I add the year and month parameter ( {% url 'home' '2021' 'November' %} I get a template rendering error "Reverse for 'home' with arguments '2021' and 'November' not found. 1 pattern tried: ['$']. Do you or anyone who reads this know what I'm doing wrong?

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      You likely have a typo or error of some kind in your code. Rewatch the videos and check your code till you find it...

    • @vaibhavbijapur6037
      @vaibhavbijapur6037 ปีที่แล้ว

      this might be too late but might be helpful for anyone who might stumble upon this error in the future. You probably have either commented out the path('/',.....) or deleted it. Don't do that keep it.

  • @restphilanthropy
    @restphilanthropy 3 ปีที่แล้ว

    Thanks sir

  • @weishyan9699
    @weishyan9699 ปีที่แล้ว

    Exception Value:
    '

    • @weishyan9699
      @weishyan9699 ปีที่แล้ว

      that error is when i type year="2021", month="June" get the error, after change to datetime.now().year no error

  • @syedosama252
    @syedosama252 3 ปีที่แล้ว

    Hello sir, please make a video on how to compare two products using django.

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      what do you mean? Django is a web framework to build websites... Comparing two products is just a matter of the HTML code you use, it's nothing to do with Django...

  • @seforaabigail6704
    @seforaabigail6704 2 ปีที่แล้ว

    😍😍😍

  • @amineslami2946
    @amineslami2946 2 ปีที่แล้ว

    I have a question. How can we show dynamic time(hour, minute and second) in django?

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Same way you would with any python code

  • @ibrohimsharipov6477
    @ibrohimsharipov6477 3 ปีที่แล้ว

    Hi John!!
    i have question. i extends base.html like{%extends 'events/base.html'%} but it didnt work
    but instead i use only base like {%extends 'base.html'%}than it worked.
    so why is that happened????
    Thank you for answer:)

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      you didn't set up an events directory in your template directory did you?

  • @seeemawn
    @seeemawn 2 ปีที่แล้ว

    another comment for the yt algorythm

  • @TOP123ization
    @TOP123ization 3 ปีที่แล้ว

    Hi in the end it gives me this error: "Reverse for 'home' with arguments '('2021', 'March')' not found. 1 pattern(s) tried: ['$']" what i'm doing wrong? thanks

    • @raulgld7640
      @raulgld7640 3 ปีที่แล้ว +1

      Hi, the problem is in your urls.py file your second path has it's name as 'Home' with capital 'H' as we saw him do in the first place, simply change that to lower case 'h' and it will work, like this:
      urlpatterns = [
      path('', views.home, name="home"),
      path('//', views.home, name="home"),
      ]

  • @amineslami2946
    @amineslami2946 2 ปีที่แล้ว

    How to change the color of text in navbar?

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      In the same way you change the color of anything in bootstrap.

    • @amineslami2946
      @amineslami2946 2 ปีที่แล้ว

      @@Codemycom would you explain more? I just learned python and started django and don't know anything about bootstrap

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      @@amineslami2946 I have a course on Bootstrap for sale at Codemy.com

  • @nagendranfriends3153
    @nagendranfriends3153 3 ปีที่แล้ว

    And how to make an Afflicate marketing website with real world things which helps to earn please suggest sir please . Job Lost so please help sir

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      I have a playlist with some affiliate marketing website videos

  • @omolarasilverstone4124
    @omolarasilverstone4124 3 ปีที่แล้ว

    I was told that before I can learn django I must first learn HTML,CSS and JavaScript ,pls how true is it

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Not true at all, as you can see for yourself by watching these videos

    • @omolarasilverstone4124
      @omolarasilverstone4124 3 ปีที่แล้ว

      @@Codemycom OK thanks

  • @anonsurf7496
    @anonsurf7496 3 ปีที่แล้ว

    Can you say how to make a search bar

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว +1

      Sure, but we've got one already...it just doesn't search anything...

  • @razinshahril1162
    @razinshahril1162 3 ปีที่แล้ว

    Why are you not liking this video?

  • @nagendranfriends3153
    @nagendranfriends3153 3 ปีที่แล้ว

    Where to get free bootstrap Templates sir

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Just google it, there are thousands

  • @marcinajman6256
    @marcinajman6256 2 ปีที่แล้ว

    Sometimes its annoying that we cant see the whole code

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      You can see the whole code. You just have to navigate to the part of the video where I type it, and pause it. Or check my github.