Comparing Backend Frameworks
In the ever-evolving world of web development, choosing the right backend framework is crucial for building robust, scalable and efficient applications. Among the multitude of options available, flask, Django and express.js stand out as powerful tool...
Read: https://softwareninja.hashnode.dev/comparing-backend-frameworks
In the ever-evolving world of web development, choosing the right backend framework is crucial for building robust, scalable and efficient applications. Among the multitude of options available, flask, Django and express.js stand out as powerful tool...
Read: https://softwareninja.hashnode.dev/comparing-backend-frameworks
Django Rest API Security: Broken Object Level Authorization
Introduction
Object-level permission grants or restricts access to individual objects based on the authenticated user's role or defined permissions. This is useful in applications to control data visibility and prevent accidental data leakages.
Suppo...
Read: https://blog.stevenwithph.com/django-rest-api-security-broken-object-level-authorization
Introduction
Object-level permission grants or restricts access to individual objects based on the authenticated user's role or defined permissions. This is useful in applications to control data visibility and prevent accidental data leakages.
Suppo...
Read: https://blog.stevenwithph.com/django-rest-api-security-broken-object-level-authorization
Empezar con Django
Un viaje al mundo del desarrollo web con Python
Django es un framework de desarrollo web de alto nivel y de código abierto que utiliza Python como lenguaje de programación. Es conocido por su facilidad de uso, su potencia y su capacidad para acelerar...
Read: https://jorgecespedes.hashnode.dev/empezar-con-django
Un viaje al mundo del desarrollo web con Python
Django es un framework de desarrollo web de alto nivel y de código abierto que utiliza Python como lenguaje de programación. Es conocido por su facilidad de uso, su potencia y su capacidad para acelerar...
Read: https://jorgecespedes.hashnode.dev/empezar-con-django
Dockerizing a Django Todo App: A Step-by-Step Guide
Introduction
In this tutorial, we will explore the process of containerizing a Django Todo App using Docker. By adopting containerization, we can simplify the deployment process and ensure consistent behavior across different environments. Docker pro...
Read: https://dikshanthasbe.hashnode.dev/dockerizing-a-django-todo-app-a-step-by-step-guide
Introduction
In this tutorial, we will explore the process of containerizing a Django Todo App using Docker. By adopting containerization, we can simplify the deployment process and ensure consistent behavior across different environments. Docker pro...
Read: https://dikshanthasbe.hashnode.dev/dockerizing-a-django-todo-app-a-step-by-step-guide
Top 5 Essential Commands for Deploying Django Apps to Heroku
Deploying applications to Heroku becomes a breeze with these five essential commands in your arsenal. From logging in to managing deployments, these commands will streamline your deployment process and help you unleash the full potential of Heroku's ...
Read: https://codepriest.hashnode.dev/top-5-essential-commands-for-deploying-django-apps-to-heroku
Deploying applications to Heroku becomes a breeze with these five essential commands in your arsenal. From logging in to managing deployments, these commands will streamline your deployment process and help you unleash the full potential of Heroku's ...
Read: https://codepriest.hashnode.dev/top-5-essential-commands-for-deploying-django-apps-to-heroku
Linking Django and MySQL
Introduction
The database is a vital part of a web application. It holds important data that the application needs to perform actions like creating, reading, updating, and deleting information. When building an application, the database can either be...
Read: https://franklynose.hashnode.dev/linking-django-and-mysql
Introduction
The database is a vital part of a web application. It holds important data that the application needs to perform actions like creating, reading, updating, and deleting information. When building an application, the database can either be...
Read: https://franklynose.hashnode.dev/linking-django-and-mysql
👍1
Implementing JSON Web Token Authentication with Django-REST Framework
Authentication is the process of identifying users accessing a web service. This article explains how to implement JSON Web Token (JWT) Authentication in a Django application.
JWT Authentication involves the use of JSON Web Tokens (JWTs). These token...
Read: https://kcee.hashnode.dev/implementing-json-web-token-authentication-with-django-rest-framework
Authentication is the process of identifying users accessing a web service. This article explains how to implement JSON Web Token (JWT) Authentication in a Django application.
JWT Authentication involves the use of JSON Web Tokens (JWTs). These token...
Read: https://kcee.hashnode.dev/implementing-json-web-token-authentication-with-django-rest-framework
Exploring Django's Third-Party Packages: Top Libraries You Should Know
Django is a high-level, open-source Python web framework designed to help developers build web applications efficiently. It is maintained by the Django Software Foundation.
Django encourages the use of reusable modules and follows the "batteries incl...
Read: https://hashnode.ifihan.dev/exploring-djangos-third-party-packages-top-libraries-you-should-know
Django is a high-level, open-source Python web framework designed to help developers build web applications efficiently. It is maintained by the Django Software Foundation.
Django encourages the use of reusable modules and follows the "batteries incl...
Read: https://hashnode.ifihan.dev/exploring-djangos-third-party-packages-top-libraries-you-should-know
👍1
When plans go astray: my unsuccessful journey of migrating a large Django project to Mypy
TL;DR - Mypy is amazing, but your code needs to be ready for it. The untyped nature of Python allows magic to happen and shortcuts to be made (at the cost of more runtime errors). Adding a type checker such as Mypy to a codebase developed under this ...
Read: https://blog.derlin.ch/my-unsuccessful-journey-of-migrating-a-large-django-project-to-mypy
TL;DR - Mypy is amazing, but your code needs to be ready for it. The untyped nature of Python allows magic to happen and shortcuts to be made (at the cost of more runtime errors). Adding a type checker such as Mypy to a codebase developed under this ...
Read: https://blog.derlin.ch/my-unsuccessful-journey-of-migrating-a-large-django-project-to-mypy
👍1
How to Structure Your Django Template The Right Way
Introduction
Templates play a vital role in Django's MVT (Model-View-Template) structure. In simple terms, a Django template is like a particular HTML file written in languages like HTML, CSS, and Javascript. These templates create the visual appeara...
Read: https://faithbolanle.hashnode.dev/how-to-structure-your-django-template-the-right-way
Introduction
Templates play a vital role in Django's MVT (Model-View-Template) structure. In simple terms, a Django template is like a particular HTML file written in languages like HTML, CSS, and Javascript. These templates create the visual appeara...
Read: https://faithbolanle.hashnode.dev/how-to-structure-your-django-template-the-right-way
👍2
Что же такое Django?
17 месяцев назад я начал свою путь в бэкенд разработку Python. Но спустя время я начал сталкиваться со сложностями в обучении на своей платформе. Первые уроки давались легко, а потом начиналось что-то непонятное в буквальном смысле. Заучивание, записывание, практика одного урока - на это уходили дни. А уроков сотни.
Чтобы найти простое объяснение и понять 10 минутный урок, приходилось несколько часов серфить интернет и потеть над кодом, выявляя правильный путь исправления ошибок. Везде говорят, что в первую очередь нужно учиться искать информацию в интернет. Но сейчас, когда я изучаю Django, даже "перекурив" весь русскоязычный мануал, я не понял ничего. В каждом предложении нужно "гуглить" термины. В сотрудничестве с ИИ я попробовал дать простое объяснение, которое поймет даже первоклассник.
Я только учусь и курс Django пройден наполовину. Все это сделано для тех, у кого тоже возникли трудности.
Узнать про Django
Читать: https://habr.com/ru/articles/747234/
17 месяцев назад я начал свою путь в бэкенд разработку Python. Но спустя время я начал сталкиваться со сложностями в обучении на своей платформе. Первые уроки давались легко, а потом начиналось что-то непонятное в буквальном смысле. Заучивание, записывание, практика одного урока - на это уходили дни. А уроков сотни.
Чтобы найти простое объяснение и понять 10 минутный урок, приходилось несколько часов серфить интернет и потеть над кодом, выявляя правильный путь исправления ошибок. Везде говорят, что в первую очередь нужно учиться искать информацию в интернет. Но сейчас, когда я изучаю Django, даже "перекурив" весь русскоязычный мануал, я не понял ничего. В каждом предложении нужно "гуглить" термины. В сотрудничестве с ИИ я попробовал дать простое объяснение, которое поймет даже первоклассник.
Я только учусь и курс Django пройден наполовину. Все это сделано для тех, у кого тоже возникли трудности.
Узнать про Django
Читать: https://habr.com/ru/articles/747234/
Lock записей и шквал «пятисоток»: какие шишки мы набили на миграциях в Django и как вам этого избежать
Всем привет! Меня зовут Артём. Я бэкенд-разработчик Яндекс Практикума, занимаюсь продуктовой разработкой нашей платформы. Пришёл в команду почти три года назад, когда Практикум только развивался, так что экспериментировать приходилось много.
Например, в 2021 году мы переработали систему контента, чтобы его можно было версионировать и показывать актуальные учебные материалы тогда, когда они будут готовы целиком. Это был достаточно сложный ход, который вылился в немалый даунтайм для сервиса, но в итоге всё закончилось успешно.
Практикум развивается, поэтому миграций накатывать приходится много. Причём применять их часто нужно к достаточно большим табличкам с щепоткой дата-миграций. В этой статье я разберу несколько примеров неаккуратной работы с миграциями в Django и поделюсь, как избежать подобных проблем.
Читать: https://habr.com/ru/companies/yandex/articles/745534/
Всем привет! Меня зовут Артём. Я бэкенд-разработчик Яндекс Практикума, занимаюсь продуктовой разработкой нашей платформы. Пришёл в команду почти три года назад, когда Практикум только развивался, так что экспериментировать приходилось много.
Например, в 2021 году мы переработали систему контента, чтобы его можно было версионировать и показывать актуальные учебные материалы тогда, когда они будут готовы целиком. Это был достаточно сложный ход, который вылился в немалый даунтайм для сервиса, но в итоге всё закончилось успешно.
Практикум развивается, поэтому миграций накатывать приходится много. Причём применять их часто нужно к достаточно большим табличкам с щепоткой дата-миграций. В этой статье я разберу несколько примеров неаккуратной работы с миграциями в Django и поделюсь, как избежать подобных проблем.
Читать: https://habr.com/ru/companies/yandex/articles/745534/
Highload-проект с нуля за 2 месяца
Как за ограниченное время из готовых компонентов создать и запустить по-настоящему нагруженный проект? Рассмотрим пример метрик, архитектуры, технических ограничений и подходов к проектированию систем на примере проекта «Экологический диктант».
Помогут нам в этом, два главных человека из компании Старботс.рф - Станислав Жуковский, руководитель проекта, и Василий Шалимов, архитектор и разработчик фич в части бэкенда. Они расскажут, как собрали сервис онлайн-тестирования за 2 месяца, вместо 8 плановых, а также про человеческий фактор, с которым они столкнулись во время работы.
Читать: https://habr.com/ru/companies/oleg-bunin/articles/747724/
Как за ограниченное время из готовых компонентов создать и запустить по-настоящему нагруженный проект? Рассмотрим пример метрик, архитектуры, технических ограничений и подходов к проектированию систем на примере проекта «Экологический диктант».
Помогут нам в этом, два главных человека из компании Старботс.рф - Станислав Жуковский, руководитель проекта, и Василий Шалимов, архитектор и разработчик фич в части бэкенда. Они расскажут, как собрали сервис онлайн-тестирования за 2 месяца, вместо 8 плановых, а также про человеческий фактор, с которым они столкнулись во время работы.
Читать: https://habr.com/ru/companies/oleg-bunin/articles/747724/
Creating Environment Variables in Your Django Project
Introduction
The Django framework is one of the most popular frameworks for backend development. Most of the information in the Django projects is sensitive and must be kept secure, including vital information like API keys, database configuration in...
Read: https://franklynose.hashnode.dev/creating-environment-variables-in-your-django-project
Introduction
The Django framework is one of the most popular frameworks for backend development. Most of the information in the Django projects is sensitive and must be kept secure, including vital information like API keys, database configuration in...
Read: https://franklynose.hashnode.dev/creating-environment-variables-in-your-django-project
👍2
Free Services to Support Development of a Django App II
Introduction
The previous week we saw 5 free services to bootstrap your Django development so that things are seamless and up to standards. This time, we extend the list with 5 more services, each specific in a way
Some services on the list would hav...
Read: https://diptonil.hashnode.dev/free-services-to-support-development-of-a-django-app-ii
Introduction
The previous week we saw 5 free services to bootstrap your Django development so that things are seamless and up to standards. This time, we extend the list with 5 more services, each specific in a way
Some services on the list would hav...
Read: https://diptonil.hashnode.dev/free-services-to-support-development-of-a-django-app-ii
Дайджест Python #13: инструменты для Data Science и исполняемые файлы из скрипта
Собрали лучшие материалы по Python с 1 по 14 июля. Узнайте, как сделать из скрипта исполняемый файл и как настроить автопостинг в ВК.
Читать: «Дайджест Python #13: инструменты для Data Science и исполняемые файлы из скрипта»
Собрали лучшие материалы по Python с 1 по 14 июля. Узнайте, как сделать из скрипта исполняемый файл и как настроить автопостинг в ВК.
Читать: «Дайджест Python #13: инструменты для Data Science и исполняемые файлы из скрипта»
Tproger
Новости Python: инструменты Data Science и автопостинг в ВК
Собрали лучшие материалы по Python с 1 по 14 июля. Узнайте, как сделать из скрипта исполняемый файл и как настроить автопостинг в ВК.
Web frameworks in Python - Django Rest Framework
Introduction
Django Rest Framework (DRF) is a powerful and flexible toolkit for building Web APIs using the Django framework. It provides a set of tools and libraries that make it easier to create, test, and manage RESTful APIs. With DRF, developers ...
Read: https://nikhilakki.in/web-frameworks-in-python-django-rest-framework
Introduction
Django Rest Framework (DRF) is a powerful and flexible toolkit for building Web APIs using the Django framework. It provides a set of tools and libraries that make it easier to create, test, and manage RESTful APIs. With DRF, developers ...
Read: https://nikhilakki.in/web-frameworks-in-python-django-rest-framework
How to Extend the Default Django User Model
Introduction:
The Django web framework provides a powerful authentication system out-of-the-box with its default User model. However, there are often cases where we need to add additional fields or functionality to the User model to suit our applicat...
Read: https://johananoppongamoateng.hashnode.dev/how-to-extend-the-default-django-user-model
Introduction:
The Django web framework provides a powerful authentication system out-of-the-box with its default User model. However, there are often cases where we need to add additional fields or functionality to the User model to suit our applicat...
Read: https://johananoppongamoateng.hashnode.dev/how-to-extend-the-default-django-user-model
A Tale of Git Mishap and PyCharm's Heroic Save
Once upon a time, in the realm of software development, a daring coder embarked on a coding adventure filled with triumphs and tribulations. Little did they know that a single command would lead them to the brink of despair, only to be rescued by an ...
Read: https://afeez1131.hashnode.dev/a-tale-of-git-mishap-and-pycharms-heroic-save
Once upon a time, in the realm of software development, a daring coder embarked on a coding adventure filled with triumphs and tribulations. Little did they know that a single command would lead them to the brink of despair, only to be rescued by an ...
Read: https://afeez1131.hashnode.dev/a-tale-of-git-mishap-and-pycharms-heroic-save
ORM en Django
Simplificando el Acceso a la Base de Datos
En el desarrollo de aplicaciones web, el acceso a la base de datos es un aspecto crucial. Django, un framework web de Python, ofrece un ORM (Object-Relational Mapping) integrado que simplifica y agiliza la i...
Read: https://jorgecespedes.hashnode.dev/orm-en-django
Simplificando el Acceso a la Base de Datos
En el desarrollo de aplicaciones web, el acceso a la base de datos es un aspecto crucial. Django, un framework web de Python, ofrece un ORM (Object-Relational Mapping) integrado que simplifica y agiliza la i...
Read: https://jorgecespedes.hashnode.dev/orm-en-django
👍1