Python Django DateTime & Timezones
Python Django DateTime & Timezones, available at $19.99, has an average rating of 4.95, with 83 lectures, based on 11 reviews, and has 117 subscribers.
You will learn about Python datetime operations Autodetect timezone from the browser Manual option to change the default timezone Timezone conversion Naive vs aware timezone formats Measure task time by activating and stoping the timer Core functionalities of the pytz package Store data in UTC – display in users localtime Export data according to users localtime (xls, csv, json) Usage of divmod vs modulo operator This course is ideal for individuals who are For people who want to bring their Python skills to the next level or For entrepreneurs who desire to create web apps that work across different timezones It is particularly useful for For people who want to bring their Python skills to the next level or For entrepreneurs who desire to create web apps that work across different timezones.
Enroll now: Python Django DateTime & Timezones
Summary
Title: Python Django DateTime & Timezones
Price: $19.99
Average Rating: 4.95
Number of Lectures: 83
Number of Published Lectures: 83
Number of Curriculum Items: 83
Number of Published Curriculum Objects: 83
Original Price: $59.99
Quality Status: approved
Status: Live
What You Will Learn
- Python datetime operations
- Autodetect timezone from the browser
- Manual option to change the default timezone
- Timezone conversion
- Naive vs aware timezone formats
- Measure task time by activating and stoping the timer
- Core functionalities of the pytz package
- Store data in UTC – display in users localtime
- Export data according to users localtime (xls, csv, json)
- Usage of divmod vs modulo operator
Who Should Attend
- For people who want to bring their Python skills to the next level
- For entrepreneurs who desire to create web apps that work across different timezones
Target Audiences
- For people who want to bring their Python skills to the next level
- For entrepreneurs who desire to create web apps that work across different timezones
Join us on a thrilling journey into the heart of Django, where time becomes your ally, not your adversary. In the “Python Django DateTime & Timezones” course, you’ll be captivated by the world of datetime manipulation and timezone mastery. This course is your ticket to unlocking the secrets of precise time handling in Django, whether you’re a newcomer or a seasoned developer.
First, we’ll embark on a quest for temporal wisdom. You’ll uncover the fundamental enchantments of Python’s datetime library. Picture yourself as a time sorcerer, conjuring the current date and time with ease. Discover the arcane knowledge of naive and aware datetime formats and learn to summon future dates at will. But the adventure doesn’t end there!
Next, you’ll decipher the mystical incantations of strftime and strptime, allowing you to craft and unravel datetime strings with the skill of a seasoned mage. You’ll measure the ebb and flow of time itself, calculating intervals between two dates and converting time durations into various units, even down to the minutest of minutes.
In your journey, you’ll master the ability to discern the day of the week from a given date, ensuring your applications can adapt to the rhythms of time. And as you wield your newfound powers, you’ll forge a countdown timer, a tool with practical applications limited only by your imagination.
But that’s just the beginning! We’ll then embark on a grand adventure in the realm of Django itself. Imagine crafting a fortress of functionality from scratch, a citadel for tracking time with precision. Your journey begins with user authentication and registration, establishing trust and security among your users.
At the heart of your citadel lies the task management system, where you’ll chronicle your heroic deeds. But here’s the twist: all datetime data will be stored in the mystical domain of UTC, ensuring uniformity across the vast expanse of timezones. With the flick of a wrist, you’ll wield the power to convert datetime data, ensuring that every user experiences time on their terms.
Intrigue awaits as you unlock the secrets of detecting timezones from the browser, allowing manual timezone adjustments, and logging time spent on tasks using both Python and JavaScript. Your journey will not only make you a master of Django datetime and timezone handling but also a wizard of practical, real-world applications.
Join us on this captivating quest, and let’s embark on an adventure through the magical world of Django datetime and timezone handling. Are you ready to master one of Django’s essential arts and take your development skills to the next level? Let’s begin the enchantment!
Course Curriculum
Chapter 1: Introduction
Lecture 1: Course preview
Lecture 2: Code editor + extensions
Lecture 3: Source code
Chapter 2: Basic exercises
Lecture 1: Introduction
Lecture 2: Get current date & time (naive)
Lecture 3: Get current date & time (aware)
Lecture 4: Get date and time separately
Lecture 5: Setup future date (i.e. 2 weeks from now)
Lecture 6: strftime vs strptime
Lecture 7: Formatting options
Lecture 8: Formatting and parsing current date & time
Lecture 9: Measure time between 2 dates
Lecture 10: Convert duration to minutes
Lecture 11: Day of the week
Lecture 12: Date validation
Lecture 13: Countdown timer
Lecture 14: Age calculation
Chapter 3: Timezones
Lecture 1: Basic Timezone Theory [OPTIONAL]
Lecture 2: Results with postgres
Chapter 4: Project: build a task logging system
Lecture 1: Start a new django project
Lecture 2: First view with the current time zone retrieved + display all timezones
Lecture 3: Different ways of getting date & time
Lecture 4: Date & time cheat sheet
Lecture 5: Mixin and decorator for timezone activation
Lecture 6: base.html file for the next lesson
Lecture 7: Add base.html file and display TZ in a template
Lecture 8: Create superuser
Lecture 9: Explanations to the next lecture for absolute beginners
Lecture 10: Create custom user model
Lecture 11: Create task model
Lecture 12: Create log model
Lecture 13: Use django signals to calculate log time & total task time
Lecture 14: Add log tabular inline and adjust task display in the admin
Lecture 15: Export logs data from admin according to users timezone
Lecture 16: Task list view
Lecture 17: Table code for the next lecture
Lecture 18: Display tasks on the main page
Lecture 19: Convert to work hours and minutes helper functions
Lecture 20: Add new task – form + view
Lecture 21: Code for the next lecture
Lecture 22: Add new task – template (with modal)
Lecture 23: Add confirmation message about newly created task
Lecture 24: Delete task
Lecture 25: Manually set the timezone
Lecture 26: Display the default (user timezone) in the form
Lecture 27: Code for selecting timezone as a function view
Lecture 28: Add messages and display alert
Lecture 29: Display username (as link to tz page) and jdenticon on the main page
Lecture 30: Detect timezone from browser (javascript)
Lecture 31: is_ajax function code for the next lecture
Lecture 32: Detect timezone from the browser (ajax + view)
Lecture 33: Display alert with detected timezone
Lecture 34: Task detail view + get_absolute_url method
Lecture 35: Code for the tasks page [Optional]
Lecture 36: Creating the tasks page
Lecture 37: "=" vs "==" vs "===" in Javascript
Lecture 38: Activate timer function
Lecture 39: Modulo operator vs divmod
Lecture 40: Add blinking light bulb
Lecture 41: Stop the timer
Lecture 42: The logic behind action buttons
Lecture 43: Csrf token code for the next lecture
Lecture 44: Initially hide action buttons and create send data function
Lecture 45: Log on tasks – frontend
Lecture 46: Log on tasks – backend
Lecture 47: Display confirmation alert
Lecture 48: Send data if user is leaving the task detail page
Lecture 49: Template code for the next lecture
Lecture 50: Task history of logs
Lecture 51: Custom filter with datetime according to the selected timezone
Lecture 52: Alternative approach – using timezone built-in filters
Lecture 53: Create task summary view
Lecture 54: Template code for the next lecture
Lecture 55: Define logic for the task summary view
Lecture 56: Finish the summary.html file
Lecture 57: Navbar code for the next lecture
Lecture 58: Add & style navbar
Lecture 59: Add login required mixins and decorators
Lecture 60: Improvement – better organization of the user admin
Lecture 61: Improvement – timezone info in session variable + use built-in timezone filter
Chapter 5: Challenge – Send Birthday invitation to friends
Lecture 1: Guidelines
Lecture 2: Solution
Lecture 3: Solution source code
Instructors
-
Django Ninjas
Coding all about Django
Rating Distribution
- 1 stars: 0 votes
- 2 stars: 0 votes
- 3 stars: 0 votes
- 4 stars: 1 votes
- 5 stars: 10 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024