Published in Dev Genius·Dec 27, 20212021: Top 100 Django packages list during the yearA year ago we’ve checked the top most popular packages for 2020 in the Django world. Today it’s time to compare it with 2021! So let’s run the same query over google cloud dataset and see what’s changed SELECT file.project, COUNT(*) as total_downloads FROM `the-psf.pypi.file_downloads` WHERE DATE(timestamp) BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL…Django7 min read
Mar 1, 20215 lessons that software developers can learn from Business Process Model and Notation (BPMN)Introduction Business process model and notation is a wildly popular visual language for business automation low-code software. On the other hand there are many successful business application implemented on a text-based programming language like ECMAScript. Python, Java or C#. …Bpmn5 min read
Feb 25, 2021TimescaleDB and Django423Moritz UlmerI've added Composite Keys to Django as a virtual field. That makes it works with timescale dbI've added Composite Keys to Django as a virtual field. That makes it works with timescale db https://viewflow.medium.com/the-django-compositeforeignkey-field-get-access-to-a-legacy-database-without-altering-db-tables-74abc9868026 upd: link fixed1 min readI've added Composite Keys to Django as a virtual field. That makes it works with timescale dbhttps://viewflow.medium.com/the-django-compositeforeignkey-field-get-access-to-a-legacy-database-without-altering-db-tables-74abc9868026upd: link fixed----1
Published in The Startup·Jan 29, 2021Implementing Finite State Machine as Python Language Native ConstructThe story about how I worked on a library of 1000 lines of code for 10 years. In this article, I’m going to share my development experience with the Django-FSM project. I will describe the process of building pythonic API, discovered pitfalls, and implemented a generic Finite State Machine library. …Finite State Machine8 min read
Jan 22, 2021Class-based URL configuration for Django projectsThis article introduces a new concept in the upcoming Viewflow 2.0 library, Class-based URL configuration — Viewset. Viewsets allow developers to create reusable Django packages, simplifies configuration and redefinition behavior of a bunch of views with common functionality for an end user. In this article. we will go through Viewset…Django4 min read
Dec 26, 2020Top 102 most downloaded Django packages in 20202020 is almost over, and it’s a good time to analyze what the most demanded Django packages in 2020 were. There are pretty detailed PyPI package repository download statistics available at google cloud. …Django7 min read
Dec 22, 2020The Django CompositeKey field. Get access to a legacy database without altering DB tablesI have discovered a truly remarkable solution for composite foreign keys support in Django ORM that works well when you can’t modify an existing database. A composite foreign key is a foreign key that consists of two or more columns. Request to support for multiple-column primary keys has been open…Django4 min read
Dec 4, 2019Single-file deploy Django to a generic Ubuntu hostFull-automatic, copy-paste Nginx/Gunicorn/Let’s Encrypt HTTPS set up in minutes — Fresh Django project deployment always looks a bit cumbersome. Bunch of script files, configurations, and container infrastructure setup time could take more time than an actual MVP project. …Django4 min read
Aug 31, 2017Full stack Django: Quick start with JWT auth and React/Redux (Part III)In the previous two parts, we created a simple backend and frontend with user authentication. In this final part, we would perform our first authenticated call to the API and implement JWT Refresh Token workflow. Calling an API Let’s create a simple helper, that would add Authentication header with token from our state. …Redux4 min read
Aug 31, 2017Full stack Django: Quick start with JWT auth and React/Redux (Part II)In the previous part, we created a simple django back-end with JSON Web token authentication. Now we going to make a frontend with React and Redux To work over first part of the tutorial, you need to have nodejs, npm, and create-react-app installed. Redux is a library helps to organize…React8 min read