На днях вышел Django 5.
▫️GeneratedField
Поля, которые автоматически рассчитываются по экспрешену (Database generated model field).
▫️Фасетный фильтр для админки
Показывает количество элементов для каждого фильтра.
▫️Async
Добавлены асинхроные функции django.contrib.auth, ORM. Ряд декораторов теперь поддерживаются асинхронными вьюшками.
▫️ORM
Новые возможносте полей, такие как поддержка словарей и функций в choices, дефолтные значения на стороне БД (Database-computed default values) с аргументом db_default и другие.
▫️Шаблоны
Новые возможности шаблонов, позволяющие писать меньше кода в формах.
#django
https://www.djangoproject.com/weblog/2017/apr/04/django-111-released/
The #Django team is happy to announce the release of Django 1.11.
This version has been designated as a long-term support (#LTS) release, which means that security and data loss fixes will be applied for at least the next three years. It will also receive fixes for crashing bugs, major functionality bugs in newly-introduced features, and regressions from older versions of Django for the next eight months until December 2017.
http://www.aparat.com/v/Dfq81
DjangoCon US 2016 Django, Python, and Health Care Data by Becca Nock
#Django, Python, and #Health_Care Data by Becca Nock Data and technology can be used to improve the health of older adults and to help them to continue to live at home and in the community as they age. Predictive analytics and modeling can predict who will get sick, be hospitalized, or have adverse outcomes in the future. Once we know who is at risk, we can design interventions to decrease the likelihood of negative health outcomes.
#webDevelopment#Python#Django#REST_API
🌐
Build a Backend REST API with Python & Django - Advanced
Create an advanced REST API with Python, Django REST Framework and Docker using Test Driven Development (TDD)
🗣 Mark Winterbottom, Brooke Rutherford
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
https://github.com/Monadical-SAS/django-channels-router
django-channels-router
A Python library for routing and handling #websocket messages using #django-channels.
Routing socket messages in the view
Routing socket messages using a handler
#React
https://github.com/Frojd/django-react-templatetags
Django-React-Templatetags
This django library allows you to add #React (16+) components into your #django#templates.
https://hackernoon.com/reconciling-djangos-mvc-templates-with-react-components-3aa986cf510a
Reconciling Backend #Templates with Frontend Components
How to build a frontend without making a Single-Page-App
At $startupNameHere we decided to write our backend in #Django and our frontend in #React. The combination is not unusual these days, but if you’ve ever tried it you’ve probably found there’s some friction between page composition with backend templating systems, and React’s component model.
https://www.coursereport.com/blog/ruby-on-rails-vs-python-and-django-which-should-a-beginner-learn
Over a year ago I found myself in a position where my career options looked bleak. I had intended on going to graduate school for economic development. But, instead of dishing out the time and money for another two years of school, I decided to teach myself how to code. (I had always loved to problem solve, anyways.) But, like most beginners, I struggled with knowing where to start. I want to create web apps: but where should I begin?
My ultimate goal was to eventually build web apps. After a little “web application development” research on Google, it became clear that Ruby on Rails (#RoR) and #Python and #Django are two very popular methods to create web apps. But which is best for a beginner to learn?
#RoR requires less work to get up and running and #Django allows for more customization.