📰 Monthly digests: May 2023
🎸 Django: Avoid database queries in template context processors
👾 Lucide - Beautiful & consistent icon toolkit made by the community
🌱 Handling a Million Tasks in Django: Efficient Prioritization with Celery, Redis, and Flower
🚀 17 Django Tips an...
Read: https://hashnode.dmytrolitvinov.com/monthly-digests-may-2023
🎸 Django: Avoid database queries in template context processors
👾 Lucide - Beautiful & consistent icon toolkit made by the community
🌱 Handling a Million Tasks in Django: Efficient Prioritization with Celery, Redis, and Flower
🚀 17 Django Tips an...
Read: https://hashnode.dmytrolitvinov.com/monthly-digests-may-2023
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 2
В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.
Читать: https://habr.com/ru/companies/selectel/articles/736590/
В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.
Читать: https://habr.com/ru/companies/selectel/articles/736590/
Создаем блог на Django с опросами и тестами. Краткая инструкция. Часть 2
В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.
Читать: https://habr.com/ru/companies/selectel/articles/738942/
В предыдущей части мы частично разобрали шаблон для нашего блога, выбрали виртуальную машину и запустили на ней нативный веб-сервер Django. Однако он предназначен только для тестирования и запуска приложений во время разработки. Для обработки запросов в продакшене нужно настроить Nginx и WSGI Gunicorn. В этой статье показываем, как это сделать.
Читать: https://habr.com/ru/companies/selectel/articles/738942/
Building Course Assist Part 17: Customizing the Couse Assist admin interface
While developing Course Assist I've tried my best to automate as many of the processes involved in the project as possible but certain processes can't be automated such as the expert registration process and the expert earning payout process. For me ...
Read: https://andysonm.hashnode.dev/building-course-assist-part-17-customizing-the-couse-assist-admin-interface
While developing Course Assist I've tried my best to automate as many of the processes involved in the project as possible but certain processes can't be automated such as the expert registration process and the expert earning payout process. For me ...
Read: https://andysonm.hashnode.dev/building-course-assist-part-17-customizing-the-couse-assist-admin-interface
👍1
Dockerized Django (Production ready in 1 click)
Hi reader,
I have created a production-ready dockerized boilerplate that you can use to quickly spin up the server which just one script. Here is how.
First, clone the repository https://github.com/nitinraturi/django-starter-boilerplate, and then run...
Read: https://raturi.in/dockerized-django
Hi reader,
I have created a production-ready dockerized boilerplate that you can use to quickly spin up the server which just one script. Here is how.
First, clone the repository https://github.com/nitinraturi/django-starter-boilerplate, and then run...
Read: https://raturi.in/dockerized-django
Django Deployment: Surviving the Wild Wild Web
Introduction
Welcome, fellow Django enthusiasts, to a hilarious yet insightful guide on deploying your Django server like a pro! In this blog, we'll explore some of the best practices for Django server deployment while keeping a lighthearted and humo...
Read: https://kodein.hashnode.dev/django-deployment-surviving-the-wild-wild-web
Introduction
Welcome, fellow Django enthusiasts, to a hilarious yet insightful guide on deploying your Django server like a pro! In this blog, we'll explore some of the best practices for Django server deployment while keeping a lighthearted and humo...
Read: https://kodein.hashnode.dev/django-deployment-surviving-the-wild-wild-web
N+1 problem in Django?
In this blog, we'll delve into the N+1 problem in Django, explore its causes and implications, and provide practical solutions to optimize your application's performance. Let's get started!
What is the N+1 Problem?
The N+1 problem occurs when an appl...
Read: https://susiltiwari.com.np/n1-problem-in-django
In this blog, we'll delve into the N+1 problem in Django, explore its causes and implications, and provide practical solutions to optimize your application's performance. Let's get started!
What is the N+1 Problem?
The N+1 problem occurs when an appl...
Read: https://susiltiwari.com.np/n1-problem-in-django
A Step-by-Step Plan to Learn Django in 2023
Introduction :Django, a high-level web framework written in Python, has gained immense popularity among developers due to its simplicity, robustness, and scalability. If you're looking to learn Django in 2023, you're making a smart choice. In this ar...
Read: https://pyguru.hashnode.dev/a-step-by-step-plan-to-learn-django-in-2023
Introduction :Django, a high-level web framework written in Python, has gained immense popularity among developers due to its simplicity, robustness, and scalability. If you're looking to learn Django in 2023, you're making a smart choice. In this ar...
Read: https://pyguru.hashnode.dev/a-step-by-step-plan-to-learn-django-in-2023
👍1
Introduction to Django Framework
Django is a popular web framework for building web applications in Python.
It is known for its simplicity, robustness, and scalability.
It was created in 2003 and has since become one of the most popular web frameworks in use today.
Django is an open...
Read: https://devsumitg.hashnode.dev/introduction-to-django-framework
Django is a popular web framework for building web applications in Python.
It is known for its simplicity, robustness, and scalability.
It was created in 2003 and has since become one of the most popular web frameworks in use today.
Django is an open...
Read: https://devsumitg.hashnode.dev/introduction-to-django-framework
👍1
[recovery mode] Автоматизация деплоя Django-приложения в маленькой команде: пошаговый гайд
Развёртывание ПО, или деплой (deploy) — этап в разработке, в Devops в целом, это действия, которые делают ПО готовым к использованию. Если вы умеете в грамотный деплой, масштабирование и управление конвейерами (CI/CD), то ваш софт будет конкурентоспособным.
Далеко не все компании могут позволить себе нанять целую команду DevOps инженеров, чтобы управлять развёртыванием. Но здесь важно не количество разрабов, а качество их знаний. Есть инструменты, с которыми можно эффективно деплоить и без большой команды.
Мы в digital-агентстве Stik успешно используем GitLab CI и Docker для развёртывания ПО в разных средах. Для чего нужны эти инструменты?
GitLab CI позволяет автоматизировать процессы сборки и доставки ПО. Docker — упаковать приложение и его зависимости в контейнеры, что упрощает развёртывание и масштабирование в разных средах. Используя их, вы сократите затраты на найм и оптимизируете деплой.
В этой статье расскажу о нашем опыте и покажу примеры настройки конвейеров CI/CD, как ими управлять с помощью GitLab CI и Docker. А также дам рекомендации, как масштабировать развертывание.
Читать: https://habr.com/ru/articles/739436/
Развёртывание ПО, или деплой (deploy) — этап в разработке, в Devops в целом, это действия, которые делают ПО готовым к использованию. Если вы умеете в грамотный деплой, масштабирование и управление конвейерами (CI/CD), то ваш софт будет конкурентоспособным.
Далеко не все компании могут позволить себе нанять целую команду DevOps инженеров, чтобы управлять развёртыванием. Но здесь важно не количество разрабов, а качество их знаний. Есть инструменты, с которыми можно эффективно деплоить и без большой команды.
Мы в digital-агентстве Stik успешно используем GitLab CI и Docker для развёртывания ПО в разных средах. Для чего нужны эти инструменты?
GitLab CI позволяет автоматизировать процессы сборки и доставки ПО. Docker — упаковать приложение и его зависимости в контейнеры, что упрощает развёртывание и масштабирование в разных средах. Используя их, вы сократите затраты на найм и оптимизируете деплой.
В этой статье расскажу о нашем опыте и покажу примеры настройки конвейеров CI/CD, как ими управлять с помощью GitLab CI и Docker. А также дам рекомендации, как масштабировать развертывание.
Читать: https://habr.com/ru/articles/739436/
👍2
How to set up and deploy a Django application on a Linux server
29th July 2021
Step 1. Server configuration.
Install any linux based distribution(Ubuntu, manjaro ...etc). Update and upgrade your software repositories.
// on any debian based distribution
sudo apt update && sudo apt upgrade
server hostname can...
Read: https://code.ajithkumarpm.me/set-up-and-deploy-a-django-application-on-a-linux-server
29th July 2021
Step 1. Server configuration.
Install any linux based distribution(Ubuntu, manjaro ...etc). Update and upgrade your software repositories.
// on any debian based distribution
sudo apt update && sudo apt upgrade
server hostname can...
Read: https://code.ajithkumarpm.me/set-up-and-deploy-a-django-application-on-a-linux-server
👍1
Websockets in Django (without Channels)
What are websockets?
WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.
Introduction of Asynchronous Programming in python.
Unlike Javascript asynchronous execution wasn't supp...
Read: https://code.ajithkumarpm.me/websockets-in-django-without-channels
What are websockets?
WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.
Introduction of Asynchronous Programming in python.
Unlike Javascript asynchronous execution wasn't supp...
Read: https://code.ajithkumarpm.me/websockets-in-django-without-channels
👍2
Django bugfix release: 4.2.2
Today we've issued the 4.2.2 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
Read: https://www.djangoproject.com/weblog/2023/jun/05/bugfix-release/
Today we've issued the 4.2.2 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
Read: https://www.djangoproject.com/weblog/2023/jun/05/bugfix-release/
👍1
Дайджест Python #10: генерация голоса и оценка скорости Mojo
Собрали новости Python с 15 по 31 мая. Узнайте, как сгенерировать голос человека на Python и во сколько раз Mojo быстрее Python на самом деле.
Читать: «Дайджест Python #10: генерация голоса и оценка скорости Mojo»
Собрали новости Python с 15 по 31 мая. Узнайте, как сгенерировать голос человека на Python и во сколько раз Mojo быстрее Python на самом деле.
Читать: «Дайджест Python #10: генерация голоса и оценка скорости Mojo»
Tproger
Новости Python #10: генерация голоса и оценка скорости Mojo
Собрали новости Python с 15 по 31 мая. Узнайте, как сгенерировать голос человека на Python и во сколько раз Mojo быстрее Python на самом деле.
10 Django Packages to Every Developer Must Install
Welcome to the world of Django, where web development becomes an adventure! This article will explore 10 essential Django packages that empower developers like you to create powerful, feature-rich web applications.
We will dive deeper into each pack...
Read: https://scofield.hashnode.dev/10-django-packages-to-every-developer-must-install
Welcome to the world of Django, where web development becomes an adventure! This article will explore 10 essential Django packages that empower developers like you to create powerful, feature-rich web applications.
We will dive deeper into each pack...
Read: https://scofield.hashnode.dev/10-django-packages-to-every-developer-must-install
10 Django Packages to Every Developer Must Install
Welcome to the world of Django, where web development becomes an adventure! This article will explore 10 essential Django packages that empower developers like you to create powerful, feature-rich web applications.
We will dive deeper into each pack...
Read: https://learnhubafrica.hashnode.dev/10-django-packages-to-every-developer-must-install
Welcome to the world of Django, where web development becomes an adventure! This article will explore 10 essential Django packages that empower developers like you to create powerful, feature-rich web applications.
We will dive deeper into each pack...
Read: https://learnhubafrica.hashnode.dev/10-django-packages-to-every-developer-must-install
"Supercharge Your Deployment Process"
Introduction:
Deploying Django apps to AWS EC2 can be complex and time-consuming. However, with the power of GitHub Actions, this process can be streamlined and made more efficient. In this blog, we'll explore how Ansible and Terraform can automate t...
Read: https://cloudwithsaurav.hashnode.dev/supercharge-your-deployment-process
Introduction:
Deploying Django apps to AWS EC2 can be complex and time-consuming. However, with the power of GitHub Actions, this process can be streamlined and made more efficient. In this blog, we'll explore how Ansible and Terraform can automate t...
Read: https://cloudwithsaurav.hashnode.dev/supercharge-your-deployment-process
👍1
Testing in Django
Testing is crucial in the software development lifecycle, ensuring that applications meet the required quality standards and function as expected. It systematically evaluates software components, modules, or systems to identify errors, bugs, or devia...
Read: https://hashnode.ifihan.dev/testing-in-django
Testing is crucial in the software development lifecycle, ensuring that applications meet the required quality standards and function as expected. It systematically evaluates software components, modules, or systems to identify errors, bugs, or devia...
Read: https://hashnode.ifihan.dev/testing-in-django
👍1
Optimising Databases in a Django Application I
Introduction
We all know that database operations tend to turn larger and uglier as an app continues to grow in its features and capabilities. The more it scales, the higher the query time needed for it to fetch records.
Here are 5 tips, starting wit...
Read: https://diptonil.hashnode.dev/optimising-databases-in-a-django-application-i
Introduction
We all know that database operations tend to turn larger and uglier as an app continues to grow in its features and capabilities. The more it scales, the higher the query time needed for it to fetch records.
Here are 5 tips, starting wit...
Read: https://diptonil.hashnode.dev/optimising-databases-in-a-django-application-i
👍1
Beginning Google Summer Of Code 2023 @ PostgreSQL
I am excited to announce that I have been offered the opportunity to work as a contributor at PostgreSQL under Google Summer Of Code 2023. I would like to thank my mentors Stephen Frost and Ilaria Battiston for providing me with this amazing opportun...
Read: https://destrex271.hashnode.dev/beginning-google-summer-of-code-2023-postgresql
I am excited to announce that I have been offered the opportunity to work as a contributor at PostgreSQL under Google Summer Of Code 2023. I would like to thank my mentors Stephen Frost and Ilaria Battiston for providing me with this amazing opportun...
Read: https://destrex271.hashnode.dev/beginning-google-summer-of-code-2023-postgresql
👍1👏1