Add "Login with Passkeys" to your Django app
Passkeys, passkeys, passkeys! Everyone's talking about them. With Amazon rolling out passkeys last year and Google encouraging users to make them the default authentication method, it raises the question: How do I add them to my app?
How do passkeys ...
Read: https://pangea.cloud/blog/add-login-with-passkeys-to-your-django-app
@django_prog
Passkeys, passkeys, passkeys! Everyone's talking about them. With Amazon rolling out passkeys last year and Google encouraging users to make them the default authentication method, it raises the question: How do I add them to my app?
How do passkeys ...
Read: https://pangea.cloud/blog/add-login-with-passkeys-to-your-django-app
@django_prog
Getting Started with Django
What is Django?
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. It takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wh...
Read: https://chaicode.com/blogs/getting-started-with-django
@django_prog
What is Django?
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. It takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wh...
Read: https://chaicode.com/blogs/getting-started-with-django
@django_prog
Popular tech stacks of 2024
Tech is a fast paced field to keep up with and everyday new innovations are being made. Feeling left behind with all this fast paced action is completely normal and something many of us feel everyday.
According to recent statistics, the tech industry...
Read: https://some1uknow.hashnode.dev/popular-tech-stacks-of-2024
@django_prog
Tech is a fast paced field to keep up with and everyday new innovations are being made. Feeling left behind with all this fast paced action is completely normal and something many of us feel everyday.
According to recent statistics, the tech industry...
Read: https://some1uknow.hashnode.dev/popular-tech-stacks-of-2024
@django_prog
This Django is Chained: The Case Against Clean Architecture in Django/DRF Projects
Introduction
Clean Architecture is a respected design pattern used by many seasoned developers to organize complex projects into clear, distinct layers. Each layer serves a specific function, which can greatly enhance project structure and maintainab...
Read: https://blog.techbend.io/this-django-is-chained
@django_prog
Introduction
Clean Architecture is a respected design pattern used by many seasoned developers to organize complex projects into clear, distinct layers. Each layer serves a specific function, which can greatly enhance project structure and maintainab...
Read: https://blog.techbend.io/this-django-is-chained
@django_prog
Oh yeah, *that* extension, it's called "emmet"
I'm looking for why something broke. The classic late-evening activity for a relatively normal software dev. Often I try to give these things a solid go of my own before I give up and turn my brain off and ask google.
But it's sunday night. I have st...
Read: https://blog.mountainbean.online/oh-yeah-that-extension-its-called-emmet
@django_prog
I'm looking for why something broke. The classic late-evening activity for a relatively normal software dev. Often I try to give these things a solid go of my own before I give up and turn my brain off and ask google.
But it's sunday night. I have st...
Read: https://blog.mountainbean.online/oh-yeah-that-extension-its-called-emmet
@django_prog
Looping defaultdict In Templates: A long-standing "Bug" in Django
I am new to Django and recently spent a good chunk of time trying to debug what I thought was quite trivial. Looping a defaultdict in templates.
This is a pretty common pattern when using Django, using a dict to pass and render data via templates, bu...
Read: https://www.dsdev.in/looping-defaultdict-in-templates-a-long-standing-bug-in-django
@django_prog
I am new to Django and recently spent a good chunk of time trying to debug what I thought was quite trivial. Looping a defaultdict in templates.
This is a pretty common pattern when using Django, using a dict to pass and render data via templates, bu...
Read: https://www.dsdev.in/looping-defaultdict-in-templates-a-long-standing-bug-in-django
@django_prog
Django
What is Django .
Django is a framework for developing web applications.
Django is built using the Python programming language.
Django is an open-source framework that is freely available without the need for a license.
Django follows the MVT (Model-...
Read: https://pritirekha23.hashnode.dev/django
@django_prog
What is Django .
Django is a framework for developing web applications.
Django is built using the Python programming language.
Django is an open-source framework that is freely available without the need for a license.
Django follows the MVT (Model-...
Read: https://pritirekha23.hashnode.dev/django
@django_prog
Jinja2 Templates and Apps in Django
Introduction
Jinja2 is a template engine for Python. It is used in Django to render templates. It is a very powerful template engine that can be used to render HTML, XML, and other formats. It is also used to render templates for the Django admin int...
Read: https://chaicode.com/blogs/jinja-templates-and-apps-in-django
@django_prog
Introduction
Jinja2 is a template engine for Python. It is used in Django to render templates. It is a very powerful template engine that can be used to render HTML, XML, and other formats. It is also used to render templates for the Django admin int...
Read: https://chaicode.com/blogs/jinja-templates-and-apps-in-django
@django_prog
Chaicode
Chai Code
Home for programming community
👍1
µDjango — технология создания асинхронных микросервисов
Примерно 5 годами ранее появления FastAPI была обнародована идеология построения легковесных микросервисов на Django, которая стала актуальной только после внедрения асинхронности в этом фреймворке.
Хотя в последней (на момент написания статьи) версии Django 5.0.5 асинхронно решается только часть задач, но уже сейчас можно начать создавать асинхронные микросервисы воспользовавшись технологией µDjango.
Так что это такое, µDjango?
Читать: https://habr.com/ru/articles/814653/
@django_prog
Примерно 5 годами ранее появления FastAPI была обнародована идеология построения легковесных микросервисов на Django, которая стала актуальной только после внедрения асинхронности в этом фреймворке.
Хотя в последней (на момент написания статьи) версии Django 5.0.5 асинхронно решается только часть задач, но уже сейчас можно начать создавать асинхронные микросервисы воспользовавшись технологией µDjango.
Так что это такое, µDjango?
Читать: https://habr.com/ru/articles/814653/
@django_prog
RESTful APIs with Django and the Django Rest Framework
Part 2 - Building RESTful Endpoints from Django Models
In part one of this tutorial, we laid the groundwork for building RESTful APIs in Django by manually creating endpoints without utilising models. In this second part of the tutorial, we'll dive i...
Read: https://pedbad.hashnode.dev/restful-apis-with-django-and-the-django-rest-framework
@django_prog
Part 2 - Building RESTful Endpoints from Django Models
In part one of this tutorial, we laid the groundwork for building RESTful APIs in Django by manually creating endpoints without utilising models. In this second part of the tutorial, we'll dive i...
Read: https://pedbad.hashnode.dev/restful-apis-with-django-and-the-django-rest-framework
@django_prog
👍2❤1
Using Cerbos with Keycloak for Identity/AuthN
Published initially by Omu Inetimi on Cerbos website
In this tutorial, we'll use Keycloak for authentication and then implement Cerbos for fine-grained access control, all within a Django web application, though the same principle will work for any ...
Read: https://cerbosdev.hashnode.dev/using-cerbos-with-keycloak-for-identityauthn
@django_prog
Published initially by Omu Inetimi on Cerbos website
In this tutorial, we'll use Keycloak for authentication and then implement Cerbos for fine-grained access control, all within a Django web application, though the same principle will work for any ...
Read: https://cerbosdev.hashnode.dev/using-cerbos-with-keycloak-for-identityauthn
@django_prog
👍1
Containerize your Django Web Application with Docker
Introduction
Containerization is becoming commonplace in modern software development. The practice involves the development of software applications in isolated environments that mimic a desired operating system. Containerization has enabled develope...
Read: https://nickoch.hashnode.dev/containerize-your-django-web-application-with-docker
@django_prog
Introduction
Containerization is becoming commonplace in modern software development. The practice involves the development of software applications in isolated environments that mimic a desired operating system. Containerization has enabled develope...
Read: https://nickoch.hashnode.dev/containerize-your-django-web-application-with-docker
@django_prog
👍3
Secure Your Django App with Parameterized Queries
Building software goes beyond creating a functional application or solution. You also need to protect user data and privacy, which shows you care not only for the problem your application solves but also for your users.
In this short guide, we will d...
Read: https://sophyia.me/secure-your-django-app-with-parameterized-queries
@django_prog
Building software goes beyond creating a functional application or solution. You also need to protect user data and privacy, which shows you care not only for the problem your application solves but also for your users.
In this short guide, we will d...
Read: https://sophyia.me/secure-your-django-app-with-parameterized-queries
@django_prog
Oh *THAT* extension, it's called "Emmet"
I'm looking for why something broke. The classic late-evening activity for your average software dev. Sometimes I try to give these things a solid go of my own before I give up, turn my brain off and ask google.
But it's Sunday night. I have stuff on...
Read: https://blog.mountainbean.online/oh-that-extension-its-called-emmet
@django_prog
I'm looking for why something broke. The classic late-evening activity for your average software dev. Sometimes I try to give these things a solid go of my own before I give up, turn my brain off and ask google.
But it's Sunday night. I have stuff on...
Read: https://blog.mountainbean.online/oh-that-extension-its-called-emmet
@django_prog
How to add tailwind to your Django project and Django Admin
Install Tailwind CSS in your Django project
Tailwind CSS is a CSS framework that allows you to build custom styles for your web pages. It provides a set of pre-built classes that you can use to style your HTML elements.
Before we run the next command...
Read: https://chaicode.com/blogs/how-to-add-tailwind-to-your-django-project-and-django-admin
@django_prog
Install Tailwind CSS in your Django project
Tailwind CSS is a CSS framework that allows you to build custom styles for your web pages. It provides a set of pre-built classes that you can use to style your HTML elements.
Before we run the next command...
Read: https://chaicode.com/blogs/how-to-add-tailwind-to-your-django-project-and-django-admin
@django_prog
Django in one file? Or should i call it a mini Django?
It's weekend and after a very busy week i am back in my home desk and navigating through my checklist. Though i had not put any priority on my checklist, my eye went to A Simple Django version for beginners. Frankly i forgot what was my real idea ove...
Read: https://djangotherightway.com/django-in-one-file-or-should-i-call-it-a-mini-django
@django_prog
It's weekend and after a very busy week i am back in my home desk and navigating through my checklist. Though i had not put any priority on my checklist, my eye went to A Simple Django version for beginners. Frankly i forgot what was my real idea ove...
Read: https://djangotherightway.com/django-in-one-file-or-should-i-call-it-a-mini-django
@django_prog
Django Relationships
Django relationships are fundamental to structuring data in web applications. With Many-to-Many, Foreign Key, and One-to-One fields, Django offers versatile tools for modeling complex relationships between different types of data. Understanding and m...
Read: https://apulkit674.hashnode.dev/django-relationships
@django_prog
Django relationships are fundamental to structuring data in web applications. With Many-to-Many, Foreign Key, and One-to-One fields, Django offers versatile tools for modeling complex relationships between different types of data. Understanding and m...
Read: https://apulkit674.hashnode.dev/django-relationships
@django_prog
Multi-Language Django Project in 12 Simple Steps(2024).
A Comprehensive Guide to Internationalization in Django
In today's interconnected world, reaching a global audience is crucial for the success of any web application. Internationalization (i18n) in Django allows developers to create applications that...
Read: https://chritianhonore.hashnode.dev/multi-language-django-project-in-12-simple-steps2024
@django_prog
A Comprehensive Guide to Internationalization in Django
In today's interconnected world, reaching a global audience is crucial for the success of any web application. Internationalization (i18n) in Django allows developers to create applications that...
Read: https://chritianhonore.hashnode.dev/multi-language-django-project-in-12-simple-steps2024
@django_prog
`LIKE` uses a range index
A Django's Auth table's indexes:
mysql> show index from auth_user;
+-----------+------------+------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_un...
Read: https://blog.danwald.me/like-uses-a-range-index
@django_prog
A Django's Auth table's indexes:
mysql> show index from auth_user;
+-----------+------------+------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_un...
Read: https://blog.danwald.me/like-uses-a-range-index
@django_prog
Понимание индексации базы данных и как ее реализовать в Django
В контексте баз данных скорость и эффективность имеют важное значение. Индексирование — одна из основных стратегий, используемых для повышения производительности запросов к базе данных. В этом сообщении блога мы рассмотрим индексирование баз данных, в том числе, что это такое, почему это важно.
Читать: https://prakash0091.hashnode.dev/understanding-database-indexing-and-how-to-implement-it-in-django
@django_prog
В контексте баз данных скорость и эффективность имеют важное значение. Индексирование — одна из основных стратегий, используемых для повышения производительности запросов к базе данных. В этом сообщении блога мы рассмотрим индексирование баз данных, в том числе, что это такое, почему это важно.
Читать: https://prakash0091.hashnode.dev/understanding-database-indexing-and-how-to-implement-it-in-django
@django_prog
RESTful APIs with Django and the Django Rest Framework
Part 3 - Using Model Serializers with Django Rest Framework
In Django, creating and managing web APIs can be accomplished without any additional tools, but this often involves a lot of repetitive and error-prone manual work. In the last part of this ...
Read: https://pedbad.hashnode.dev/using-model-serializers-with-django-rest-framework
@django_prog
Part 3 - Using Model Serializers with Django Rest Framework
In Django, creating and managing web APIs can be accomplished without any additional tools, but this often involves a lot of repetitive and error-prone manual work. In the last part of this ...
Read: https://pedbad.hashnode.dev/using-model-serializers-with-django-rest-framework
@django_prog