На днях вышел Django 5.
▫️GeneratedField
Поля, которые автоматически рассчитываются по экспрешену (Database generated model field).
▫️Фасетный фильтр для админки
Показывает количество элементов для каждого фильтра.
▫️Async
Добавлены асинхроные функции django.contrib.auth, ORM. Ряд декораторов теперь поддерживаются асинхронными вьюшками.
▫️ORM
Новые возможносте полей, такие как поддержка словарей и функций в choices, дефолтные значения на стороне БД (Database-computed default values) с аргументом db_default и другие.
▫️Шаблоны
Новые возможности шаблонов, позволяющие писать меньше кода в формах.
#django
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.
http://docs.graphene-python.org/projects/django/en/latest/tutorial-plain/
#Graphene has a number of additional features that are designed to make working with #Django really simple.
Our primary focus here is to give a good understanding of how to connect models from Django ORM to graphene object types.