По аналогии с PEP у Django есть DEP.
Самый интересный для меня на данный момент на это DEP 0009: Async-capable Django. Он про то, как будет внедряться поддержка аснихронности.
Начиная с версии 3 в Django начали появляться асинхронные плюшки. Это всё еще мало чтобы делать асинхронное приложение, но долгий путь начинается с одного маленького шага!
Всё должно пройти в несколько этапов и к 4й версии обещают сделать Django асинхронным!
Что это даёт разработчикам в случае если весь фреймворк станет поддерживать async?
- Ускорение работы web-приложения? Если правильно писать асинхронный код, то да.
- Усложнение кода? Возможно, но фреймворк на то и фреймворк, чтобы прятать сложности где-то внутри. Надеюсь код усложнится не сильно, посмотрим...
И когда нам этого ожидать? Судя по этой схемкеDjango 4 выйдет в Декабре 2021 года. А это значит, что у вас есть примерно год чтобы научиться понимать асинхронный код, если еще не умеете😁
#django#pep
https://engineering.instagram.com/web-service-efficiency-at-instagram-with-python-4976d078e366
Web Service Efficiency at Instagram with Python
#Instagram currently features the world’s largest deployment of the #Django web framework, which is written entirely in #Python. We initially chose to use Python because of its reputation for simplicity and practicality, which aligns well with our philosophy of “do the simple thing first.” But simplicity can come with a tradeoff: efficiency...
https://medium.com/django-musings/customizing-the-django-admin-site-b82c7d325510
Customizing the #Django#Admin site
Let’s start by saying that Django’s admin site is spectacular. It can literally save you months of work, but having said that, one thing that one needs to understand is that Django’s admin site is only ok as an internal tool. It is not, and never has been intended to be, an end user tool.
https://gist.github.com/Yogendra0Sharma/5aa96ebfd0854623a5451c53672088d5
Guide on how to create and set up a Dockerized web app using #Django REST APIs and #React
#docker
http://www.djangocrew.com/blog/payment-gateway-stripe-django/
Stripe #Payment gateway integration in #Django.
What is Stripe payment gateway?
Stripe builds a set of products that make it extremely easy to start and operate an online business. At the core of this is payment processing. However, many other adjacent utilities come into play.
#Python#Django#PostgreSQL
🐍
Building Web Applications with Django and PostgreSQL
This course is designed to provide you with a comprehensive understanding of how to develop web applications using the Django web framework in combination with the PostgreSQL database. Django is a popular web framework written in Python that allows developers to build robust and scalable web applications quickly and efficiently, while PostgreSQL is a powerful open-source relational database management system known for its reliability and performance.
📅 4/2023
🔗Link
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
What happens when you #save within #django?
1- Emit a pre-save signal.
2- Preprocess the data.
3- Prepare the data for the database.
4- Insert the data into the database.
5- Emit a post-save signal.
5 ta eng mashhur Python kutubxonasi
Python dasturlash tili kuchli kutubxonalar bilan mashhur. Quyida eng ommabop va keng qo‘llaniladigan 5 ta Python kutubxonasi bilan tanishing.
🔹1. TensorFlow –🔗Rasmiy sayt
– Google va Brain jamoasi tomonidan ishlab chiqilgan mashinaviy o‘rganish (ML) kutubxonasi.
– Katta hajmdagi ma’lumotlar bilan ishlash va neyron tarmoqlarni yaratish imkonini beradi.
🔹2. Keras –🔗Rasmiy sayt
– Mashinaviy o‘rganish uchun eng qulay va kuchli kutubxonalardan biri.
– Neyron tarmoqlarni yaratish va o‘qitish uchun sodda API taqdim etadi.
🔹3. NumPy – 🔗Rasmiy sayt
– Sonli hisob-kitoblar va massivlar bilan ishlash uchun ishlatiladi.
– TensorFlow va boshqa ML kutubxonalari NumPy’dan foydalanadi.
🔹4. Scikit-learn –🔗Rasmiy sayt
– Ma’lumotlarni tahlil qilish va mashinaviy o‘rganish uchun eng mashhur kutubxonalardan biri.
– NumPy va SciPy asosida yaratilgan.
🔹5. Django –🔗Rasmiy sayt
– Veb-saytlar yaratishni tezlashtiradigan kuchli Python kutubxonasi.
– Kamroq kod bilan ko‘proq ish bajarish imkonini beradi.
🚀Qaysi kutubxonadan foydalanasiz? Izohlarda fikringizni qoldiring!
#Python#Django#MachineLearning#Numpy
💻@dasturlash_hayoti— dasturchilar hayoti va dasturlash olami haqida!
https://django-ai.readthedocs.io/en/latest/readme.html
#Artificial_Intelligence for #Django
django-ai is a collection of apps for integrating statistical models into your Django project so you can implement #Machine_Learning conveniently.