- Видео 20
- Просмотров 71 997
John Solly
Добавлен 18 дек 2021
Seamless Astro.js Debugging in VSCode: One-Click Config for .astro and Client-Side .js Breakpoints!
I'll show how you can debug both client-side and server-side code with one vscode configuration!
Link to my Astro.js vscode configuration: github.com/jsolly/johnsolly.dev/blob/master/.vscode/launch.json
Link to my Astro.js vscode configuration: github.com/jsolly/johnsolly.dev/blob/master/.vscode/launch.json
Просмотров: 229
Видео
How to debug an Astro Application in vscode (Hit breakpoints in Client-side/server-side JavaScript!)
Просмотров 9419 месяцев назад
This video is a straightforward tutorial on debugging Astro applications, covering both client-side and server-side JavaScript. Learn how to add and hit breakpoints in VSCode, enabling you to troubleshoot and improve your Astro projects efficiently. Whether you're addressing issues in the browser or on the server, we've got you covered. Hit breakpoints in Astro like a pro! Timestamps 0:00 - Deb...
What is HTMX and how do I use it?
Просмотров 770Год назад
⚡ In this video, we delve into the fascinating world of HTMX, exploring how it's bridging the gap between backend and frontend development. Whether you're a seasoned developer or just starting out, this presentation offers insightful perspectives and practical demonstrations that can enrich your coding journey. 📚 What's Inside: What is HTMX? - Unraveling the basics of HTMX and its impact on web...
Django Ajax Comment Deletion with HTMX - Delete things without a page reload or JavaScript!
Просмотров 307Год назад
In this tutorial, we'll explore how to seamlessly delete comments in a Django application using HTMX. Say goodbye to page reloads and complex JavaScript! We'll walk you through the entire process, from setting up your Django views to integrating HTMX for Ajax-like behavior. By the end, you'll be able to instantly remove comments, enhancing user experience without compromising performance. Link ...
Real-Time Comments in Django: HTMX for Seamless AJAX Reactivity Without Page Reloads
Просмотров 763Год назад
Add real-time commenting functionality to your Django application using HTMX. In this tutorial, we'll guide you through the step-by-step process of integrating HTMX to enable users to add comments without a page reload. This seamless approach enhances user interaction and provides a modern, responsive experience. What You'll Learn: - Setting up HTMX in your Django project - Creating an endpoint...
Python Todoist Backlog Scheduler!
Просмотров 240Год назад
Automatically distribute your 'todo' tasks over the next week! Check out the code here: github.com/jsolly/todoist-backlog-scheduler
Build a GPT-Powered AI Chatbot for Your Django Blog: Integrate JavaScript, HTMX & OpenAI API!
Просмотров 1,6 тыс.Год назад
In this comprehensive tutorial, learn how to implement a GPT-powered AI chatbot on your Django blog. We guide you through the entire process, covering the setup and integration of JavaScript, HTMX, and the OpenAI API for effective user interaction. This video is designed for developers who want to enhance their site's interactivity and engagement by creating their custom AI chatbot. Find time s...
How-To: Implementing HTMX Infinite Scroll in Your Django Blog Application Step-by-Step
Просмотров 1,4 тыс.Год назад
Looking for a quick solution to add infinite scroll to your Django blog application? You've come to the right place! In this developer-focused tutorial, I'll walk you through the step-by-step process of integrating HTMX for seamless infinite scrolling. Learn how to set up Django views, templates, and HTMX for a smooth, efficient browsing experience. Say goodbye to pagination and elevate your Dj...
Revolutionize Your Django Searches: Master SearchVector, SearchQuery, and SearchRank
Просмотров 288Год назад
Take your Django search functionality to the next level! In this video, we'll dive into the powerful tools of django.contrib.postgres.search to create smart searches that deliver accurate and relevant results. You'll learn how to use SearchVector, SearchQuery, and SearchRank to optimize your search algorithms, enhance user experience, and boost your application's performance. Whether you're a b...
Generating SEO-friendly slugs and meta descriptions with Open AI's GPT-3 and HTMX in Django (Part 2)
Просмотров 279Год назад
In this tutorial, I will show you how to generate SEO-friendly slugs and meta descriptions for your website using Open AI's GPT-3 and HTMX in Django. This tutorial is perfect for developers who want to take their website optimization to the next level. I will take you step by step through setting up GPT-3, integrating it with Django, and using HTMX to make the process even more efficient. By th...
Generating SEO-friendly website titles with Open AI's GPT-3 and HTMX in Django (Part 1)
Просмотров 414Год назад
This tutorial will show you how to use Open AI's GPT-3 Python API to generate website titles in a Django app. We will use the HTMX library to make the process even more efficient. This tutorial is perfect for developers who want to add a touch of AI to their websites and make their titles stand out. We will take you step by step through setting up GPT-3, integrating it with Django, and using HT...
Configuring Pre-Commit Hooks to Automate Python Testing and Linting in vscode (Visual Studio Code)
Просмотров 5 тыс.Год назад
In this video tutorial, I'll show you how to set up pre-commit hooks to automatically run Python tests and linting checks every time you commit code changes. Pre-commit hooks are an easy and efficient way to ensure that your code is always up to standards and free of errors, saving you time and effort in the long run. I'll walk you through the process of installing and configuring pre-commit an...
My Django logging setup explained in detail
Просмотров 6 тыс.2 года назад
FORMATTERS = ( { "verbose": { "format": "{levelname} {asctime:s} {name} {threadName} {thread:d} {module} {filename} {lineno:d} {name} {funcName} {process:d} {message}", "style": "{", }, "simple": { "format": "{levelname} {asctime:s} {name} {module} {filename} {lineno:d} {funcName} {message}", "style": "{", }, }, ) HANDLERS = { "console_handler": { "class": "logging.StreamHandler", "formatter": ...
How to turn on logging in your Django App
Просмотров 4,5 тыс.2 года назад
Code inside settings.py FORMATTERS = ( { "verbose": { "format": "{levelname} {asctime:s} {threadName} {thread:d} {module} {filename} {lineno:d} {name} {funcName} {process:d} {message}", "style": "{", }, "simple": { "format": "{levelname} {asctime:s} {module} {filename} {lineno:d} {funcName} {message}", "style": "{", }, }, ) HANDLERS = { "console_handler": { "class": "logging.StreamHandler", "fo...
Ultimate One-click Django Debugging. Runserver, livereload, launch chrome all at once!
Просмотров 1,3 тыс.2 года назад
The ultimate one-click debug experience for a Django application launch.json { "version": "0.2.0", "configurations": [ { "name": "Django_Start", "python": "/Users/johnsolly/Documents/code/blogthedata/django_project/venv/bin/python3", "type": "python", "request": "launch", "program": "/Users/johnsolly/Documents/code/blogthedata/django_project/manage.py", "django": true, "justMyCode": true, "args...
How to troubleshoot Django errors when migrating sqlite database to postgres
Просмотров 1,1 тыс.2 года назад
How to troubleshoot Django errors when migrating sqlite database to postgres
Enable Unittest for Django Projects in VSCode
Просмотров 7 тыс.2 года назад
Enable Unittest for Django Projects in VSCode
Automatically Activate Python Virtual Environment in VScode for Django Project
Просмотров 15 тыс.2 года назад
Automatically Activate Python Virtual Environment in VScode for Django Project
Enable Spell Checker in django-ckeditor
Просмотров 8102 года назад
Enable Spell Checker in django-ckeditor
How To Debug a Django Application in VS CODE (Visual Studio Code)
Просмотров 23 тыс.2 года назад
How To Debug a Django Application in VS CODE (Visual Studio Code)