How To Add A Calendar To Your Website - Django Wednesdays #2

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024
  • In this video I'll show you how to add a dynamic Calendar to your Website with Django and Python.
    We'll also look at creating dynamic urls using Path Converters that will allow you to pass specific items from your url, like a month or year, into your webpage.
    We'll look at the Python Calendar and learn how to add it to a webpage, and also how to convert a month name, like March, into it's corresponding number (like 3).
    We'll also spend a minute talking about Context Dictionaries and how to use them to pass data from the Django backend to the frontend webpage.

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

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

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

  • @dohnot
    @dohnot 3 ปีที่แล้ว +7

    From now on Wednesday is my favorite day. I really enjoy this series! Keep on, with the good stuff!

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

      Happy to hear it! Glad you're enjoying them!

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

    You truly are a legend, no words to thank you enough for so much quality content for free.

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

      Thanks! Tell your friends ;-)

  • @allenjoshuafrancisco7128
    @allenjoshuafrancisco7128 3 ปีที่แล้ว +6

    Thank you so much, John! Thank you for making our coding life a bit easier :) could you make a tutorial on how to style the HTMLCalendar and populate it with events from the database? Thank you man!

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

      Yeah we'll get into that

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

    This is real gold! Thank you for your amazing work!

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

      Glad you like it!

  • @maqsadliKundalik
    @maqsadliKundalik 8 หลายเดือนก่อน

    O'rgatishda sizga teng keladigani yo'q! Katta rahmat ustoz!

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

    Thank you for another Great Video of Django!!! Love Django Wednesdays!!!

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

      Thanks! Glad you love em!

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

    Thanks teacher, I am very happy for Django Wednesdays

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

      I'm happy to hear it!

  • @Lazizbek0005
    @Lazizbek0005 8 หลายเดือนก่อน

    Thank you your videos are great on fire

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

      Welcome!

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

    Thank you so much! It's greet!

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

    You are a godsend! Thank you so much for your efford you put in this channel. I’ve learned a lot. Watching your videos is a pleasure :D

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

      Wow, thanks for saying that! I appreciate it!

  • @WellnessGeek-iv8jj
    @WellnessGeek-iv8jj ปีที่แล้ว

    Great work Man! Well done

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

    I just started watching your series

  • @MatíasEzequiel-y2y
    @MatíasEzequiel-y2y 10 หลายเดือนก่อน

    Thank you John from Argentina! Excelent!

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

      Welcome!

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

    Wow, Thanks John! Was finding a tutorial like this one for days.. Keep making such awesome tutorials with django!

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

      More to come!

  • @marcus.the.younger
    @marcus.the.younger 3 ปีที่แล้ว

    Why do you have so little subscribers?
    TH-cam is unfair
    You get paid alot when you just move your eyes whilst content creators like him are paid less
    I have completed your Tkinter playlist and damn you covered everything there is to cover
    We students thank you

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

      Thanks! Tell your friends ;-)

  • @Theo-ry8sk
    @Theo-ry8sk 3 ปีที่แล้ว

    Love these vids!! Thanks very much for making them!

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

      Glad you like them!

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

    Does anyone have a link to the code for these exercises in case we need it

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

      github.com/flatplanet/Django-Club-TH-cam-Playlist

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

    Thank you very very very much!!!
    you save my life!!!!

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

      Glad you liked them!

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

    Perfect! But, how I can link on a specific day on the calendar? And, how I can style the calendar? I try to find the video with them and can`t do this. Did you make this video?

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

    thank you for this course!

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

      You're very welcome!

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

    Man you amazing !!!Thnks !

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

      Thanks for watching!

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

    dear sir instead of using git bash to run you can press "ctrl+b" key combinations to run your program hope you can see it

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

      No thanks, I prefer not to do that as there are drawbacks

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

      @@Codemycom ok sir as your student, it is responsibility of mine that he should try everything to make comfort to his teacher

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

      @@bhavyamverma70 No, it's really not.

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

    Hey John
    Please let me know
    If we had left the work previous day means exit everything and when we try to start the same work again
    Is it running the same command again and again
    Like activate enviornment
    Start django project

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

      you always have to activate your virtual environment. You would not start a new django project but would start the server.

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

    I am going to be learning a lot from you. Meet you late I wish it was 5years ago

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

      Ha, it's never too late!

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

    thank you sir

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

      Most welcome

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

    Great videos! Have a quick question though. How did you make the dynamic url for each month?

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

      I did everything onscreen in the video...

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

      @Codemycom hmm thank you. I guess I'm missing something as I cant find it. I'm guessing you created the websites off screen.. couldn't follow your viedos from the beginning cos of that.

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

      @@tommy8638 you guess wrong, I did absolutely everything on screen

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

    Im glad you started another Django Series, but aer you going to publish the django blog website?

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

      I'm done with the Django blog playlist

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

    I was thinking it would be great if days on which events are scheduled were identified, maybe by color or some other way. Also, it would be helpful with we could click on a date to see what events are scheduled for that day AND to be able to add a new event on that date. What do you think?

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

    you are the best man

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

    The list.index() method returns int.
    Why in line 10 we use extra cast to int?
    P.S Thanks for very useful stuff

  • @DOSTONBEKTURSUNOV-xd4qi
    @DOSTONBEKTURSUNOV-xd4qi 2 หลายเดือนก่อน

    Great

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

      Glad you enjoyed it!

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

    Perfect

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

    Is Django also used for the backend development of the website?

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

      Yes, that's what Django is.

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

    Awesome Content John. Much respect for these videos. Can you please push the code to some github account, it would be easier to follow the changes, thank you again for your time :-)

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

      My code is always in the pinned comment

  • @rohallaheghbali4889
    @rohallaheghbali4889 2 หลายเดือนก่อน

    what is different between django calendar and just html calendar ?

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

      the look

  • @solomonezra1253
    @solomonezra1253 7 หลายเดือนก่อน

    I have a problem with this tutorial. After writing the code the way you wrote it it’s saying
    The empty path didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False , and Django will display a standard 404 page. I have been battling with this for 3 days now. Can’t still figure out the problem.

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

      Why not just do what it says? Change DEGBUG = False in your settings.py file.

    • @solomonezra1253
      @solomonezra1253 7 หลายเดือนก่อน

      @@Codemycom The result after changing debug to false:
      CommandError: You must set settings.ALLOWED_HOST if DEBUG is false

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

    Hi, has anyone seen another template code e.g. also with buttons that automatically go to the next or last month? Thanks a lot!

  • @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

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

    Hey! I was wondering if Google Calendar API can respond from my django website backend code. For example, if I want to schedule 12 psychology classes in the calendar, the algorithm in my django website can calculate which dates to input the psychology class if I just click one button in my website. However, I would like to display this on a clean calendar like Google Calendar. Is it possible? If not, is there an alternative?

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

      No clue, I've never used it. But if it has an API, then it's probably possible. I have no videos on that.

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

    How do you show same events for multiple dates like (from date) to (to date)

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

    still working with Django 4

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

    Is it possible to also add the day to the url e.g. to display content based on that

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

    Great tutorial! Can you make a notification system so when someone post on blog you get a notification

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

    How do I make it only show it as this week calendar?

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

    Can we improve the look of our calender?

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

    Sir, could you please make a video on integrating Google Calendar with a Django Project?

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

      @@Coldcorn I figured it out myself bro. Just go to Google Calendar website from your pc... Go under settings to integrate Google Calendar to your website... Copy the embeded code HTML and use it on your website

  • @Usanews-q1w
    @Usanews-q1w 2 หลายเดือนก่อน

    good morning , please how can i style that calendar ? or isn't that possible

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

      Sorry, I have no videos on that...it takes quite a bit of hacking.

    • @Usanews-q1w
      @Usanews-q1w 2 หลายเดือนก่อน

      @@Codemycom thanks for your response, is there any easy way to include a calendar in my project, I am trying to build calendar for taking appointments , what to you think is the best solution ?

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

    Anyone else having trouble with “name ‘List’ is not defined” error in python 4?

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

      The current version of Python is 3.9

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

    Please say about groups and Custom Login

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

      We'll probably get to that eventually

  • @usha.pradeep50
    @usha.pradeep50 2 ปีที่แล้ว

    👍🏻

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

    where can i get the code of this video ???

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

      bit.ly/3sJpeV6

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

    How would you make it look good?

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

    Wow

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

    I CANT WORK WITH TIME IN HTML AMD DJANGO
    please help

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

      please don't yell.

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

      18:00 time

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

      My date and time is not working on HTML and whole cheleder went to right most after using bootstrap

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

      @@viratraj194 hey bro please learn bootstrap and css properly first :) . Designing comes to css .Html is just a skeleton

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

    Can I get the above code via link

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

      It's in the pinned comment as always

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

    video time = 18:00