Django Mastery Series
Hello Coders, I hope you are all doing well.🤗
Are you tired of reading endless articles or binge-watching YouTube lessons on "how to learn the Django"? 😵, By frequently hitting StackOverflow anytime you run into a problem at work but are unable to ...
Read: https://prathambhansali.hashnode.dev/django-mastery-series
Hello Coders, I hope you are all doing well.🤗
Are you tired of reading endless articles or binge-watching YouTube lessons on "how to learn the Django"? 😵, By frequently hitting StackOverflow anytime you run into a problem at work but are unable to ...
Read: https://prathambhansali.hashnode.dev/django-mastery-series
FastAPI vs Django vs Flask, qué framework aprender?
Python es un lenguaje de programación que está en constante evolución. Cada año, se van agregando nuevas funciones y mejoras en el lenguaje, haciéndolo más potente, rápido y fácil de usar. Actualmente, es uno de los lenguajes de programación más popu...
Read: https://agusmdev.hashnode.dev/fastapi-vs-django-vs-flask-que-framework-aprender
Python es un lenguaje de programación que está en constante evolución. Cada año, se van agregando nuevas funciones y mejoras en el lenguaje, haciéndolo más potente, rápido y fácil de usar. Actualmente, es uno de los lenguajes de programación más popu...
Read: https://agusmdev.hashnode.dev/fastapi-vs-django-vs-flask-que-framework-aprender
How To Create Django Blog Step By Step Tutorial
how I build a simple Django blog from scratch. For the front-end, I use Tailwind to make it look great.
In this tutorial, we’ll build a Blog application with Django
Pre-Requirements
Django is an open-source web framework, written in Python, that fol...
Read: https://amitgajare.hashnode.dev/how-to-create-django-blog-step-by-step-tutorial
how I build a simple Django blog from scratch. For the front-end, I use Tailwind to make it look great.
In this tutorial, we’ll build a Blog application with Django
Pre-Requirements
Django is an open-source web framework, written in Python, that fol...
Read: https://amitgajare.hashnode.dev/how-to-create-django-blog-step-by-step-tutorial
Django bugfix release: 4.1.3
Today we've issued the 4.1.3 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
Today we've issued the 4.1.3 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
Starting on Django and setting up your first Project!
What is Django?
Django is a free and open source web application framework, written in Python. A web framework is a set of components that helps you to develop websites faster and easier.
It works with a model-view-controller (MVC) architecture.
The...
Read: https://walobwa.hashnode.dev/starting-on-django-and-setting-up-your-first-project
What is Django?
Django is a free and open source web application framework, written in Python. A web framework is a set of components that helps you to develop websites faster and easier.
It works with a model-view-controller (MVC) architecture.
The...
Read: https://walobwa.hashnode.dev/starting-on-django-and-setting-up-your-first-project
Django vs Larvel Comparision: Which Framework to choose?
The committee would have a difficult time deciding which framework would be declared king when it comes to online or mobile development. This is not to argue that there aren't any worthy rivals.
The sounds of individuals who extol the virtues of thei...
Read: https://jessicaspe.hashnode.dev/django-vs-larvel-comparision-which-framework-to-choose
The committee would have a difficult time deciding which framework would be declared king when it comes to online or mobile development. This is not to argue that there aren't any worthy rivals.
The sounds of individuals who extol the virtues of thei...
Read: https://jessicaspe.hashnode.dev/django-vs-larvel-comparision-which-framework-to-choose
How to Use MQTT in The Django Project
MQTT is a lightweight IoT messaging protocol based on publish/subscribe model, which can provide real-time reliable messaging services for connected devices with very little code and bandwidth. It is widely used in industries such as IoT, mobile Inte...
Read: https://emqx.hashnode.dev/how-to-use-mqtt-in-the-django-project
MQTT is a lightweight IoT messaging protocol based on publish/subscribe model, which can provide real-time reliable messaging services for connected devices with very little code and bandwidth. It is widely used in industries such as IoT, mobile Inte...
Read: https://emqx.hashnode.dev/how-to-use-mqtt-in-the-django-project
Jenkins: Creating a Pipeline for Python projects
I recently attempted to set up a pipeline using Jenkins for my Python projects. The process was not straightforward, but I was able to figure it out.
I'll try to describe how I did it in this article so that anyone starting off or working on a proje...
Read: https://savadev.hashnode.dev/jenkins-creating-a-pipeline-for-python-projects
I recently attempted to set up a pipeline using Jenkins for my Python projects. The process was not straightforward, but I was able to figure it out.
I'll try to describe how I did it in this article so that anyone starting off or working on a proje...
Read: https://savadev.hashnode.dev/jenkins-creating-a-pipeline-for-python-projects
Automatically Add Logged In User Under 'created_by' and 'updated_by' in Django Rest Framework
In some application, we need to track which user added or updated the data in the system. So here we will see how to do this job in the background without any user input.
Required setup: I hope you already have Django and the Django Rest Framework i...
Read: https://forhadakhan.hashnode.dev/automatically-add-logged-in-user-under-createdby-and-updatedby-in-django-rest-framework
In some application, we need to track which user added or updated the data in the system. So here we will see how to do this job in the background without any user input.
Required setup: I hope you already have Django and the Django Rest Framework i...
Read: https://forhadakhan.hashnode.dev/automatically-add-logged-in-user-under-createdby-and-updatedby-in-django-rest-framework
Django: The web framework for perfectionists with deadlines.
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing t...
Read: https://stero.hashnode.dev/django-the-web-framework-for-perfectionists-with-deadlines
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing t...
Read: https://stero.hashnode.dev/django-the-web-framework-for-perfectionists-with-deadlines
Distributed Locks for Django Celery Tasks
If you are putting asynchronous(background) tasks in a Django application, Celery is the go-to option without second thoughts. I tried to outline some considerations around production-ready celery tasks in one of the posts. In this post, we will lear...
Read: https://gplhegde.hashnode.dev/distributed-locks-for-django-celery-tasks
If you are putting asynchronous(background) tasks in a Django application, Celery is the go-to option without second thoughts. I tried to outline some considerations around production-ready celery tasks in one of the posts. In this post, we will lear...
Read: https://gplhegde.hashnode.dev/distributed-locks-for-django-celery-tasks
👍1
Как сделать локальный Django-сайт доступным в Интернете / Туннели ngrok
Допустим вы пишите какое-то Django-приложение. Как обычно разработка идёт локально на вашем компьютере. По умолчанию все Django-проекты доступны по адресу
Проект пока рано заливать на какой-то хостинг или выделенный сервер, но показать его другому человеку уже нужно: похвастаться другу, человеку и команды разработки, заказчику и т.д. Даже если этот человек подключится к WI-FI у вас дома и будет находиться с сайтом в одной сети, localhost будет перенаправлять гостя на своё же устройство, а не на ваш сайт.
Что делать, как показать Django-проект, которые запускается на локальном сервере, недоступном в Интернете? Есть несколько вариантов:
Читать: https://habr.com/ru/post/697620/
Допустим вы пишите какое-то Django-приложение. Как обычно разработка идёт локально на вашем компьютере. По умолчанию все Django-проекты доступны по адресу
https://localhost:8000
или https://127.0.0.1:8000
что одно и тоже. Эта адреса твоего локального компьютера. Соответственно никто другой в Интернете, перейдя по одному из этих адресов, ваш сайт не увидит. Проект пока рано заливать на какой-то хостинг или выделенный сервер, но показать его другому человеку уже нужно: похвастаться другу, человеку и команды разработки, заказчику и т.д. Даже если этот человек подключится к WI-FI у вас дома и будет находиться с сайтом в одной сети, localhost будет перенаправлять гостя на своё же устройство, а не на ваш сайт.
Что делать, как показать Django-проект, которые запускается на локальном сервере, недоступном в Интернете? Есть несколько вариантов:
Читать: https://habr.com/ru/post/697620/
👍1🔥1
Generate API Docs for Django with GitHub Actions
In the last article I covered how to Host API Docs in Django. To recap, this included the following:
Creating an OpenAPI spec
Generating API docs with the redoc-cli
Exposing docs in Django at a path of our choice
Requiring authentication to access A...
Read: https://blog.rama.io/generate-api-docs-for-django-with-github-actions
In the last article I covered how to Host API Docs in Django. To recap, this included the following:
Creating an OpenAPI spec
Generating API docs with the redoc-cli
Exposing docs in Django at a path of our choice
Requiring authentication to access A...
Read: https://blog.rama.io/generate-api-docs-for-django-with-github-actions
👍2
Dockerize an Django Based app along Postgres + Redis + ElasticSearch 🚀
Docker is a wonderful tool to containerise your website. A website have many micro services & inter dependent in most of the cases. Things even get more worse when we try to setup our app on different PC / Operating System. Docker is a lifesaver in t...
Read: https://selftaughtdev.me/dockerize-an-django-based-app-along-postgres-redis-elasticsearch
Docker is a wonderful tool to containerise your website. A website have many micro services & inter dependent in most of the cases. Things even get more worse when we try to setup our app on different PC / Operating System. Docker is a lifesaver in t...
Read: https://selftaughtdev.me/dockerize-an-django-based-app-along-postgres-redis-elasticsearch
🔥1
Authenticating Background Tasks with Django Rest Framework SimpleJWT
Situation
You have an API built with Django Rest Framework
You are using SimpleJWT as your authentication backend
You have integrated Celery with your Django application and are using it to run background tasks
Some of your tasks need to make authen...
Read: https://blog.evanottinger.com/authenticating-background-tasks-with-django-rest-framework-simplejwt
Situation
You have an API built with Django Rest Framework
You are using SimpleJWT as your authentication backend
You have integrated Celery with your Django application and are using it to run background tasks
Some of your tasks need to make authen...
Read: https://blog.evanottinger.com/authenticating-background-tasks-with-django-rest-framework-simplejwt
👍1
Building REST APIs
Building a REST API in Django is really easy. In this tutorial, I’ll walk you through the steps to get your first API up and running.
Before we get to the code, it’s worth considering why you would want to build an API.
APIs are mechanisms that enabl...
Read: https://abdullahifahm.hashnode.dev/building-rest-apis
Building a REST API in Django is really easy. In this tutorial, I’ll walk you through the steps to get your first API up and running.
Before we get to the code, it’s worth considering why you would want to build an API.
APIs are mechanisms that enabl...
Read: https://abdullahifahm.hashnode.dev/building-rest-apis
🔥1
How To Create And Use Form View in Django ?
Hi Tech Enthu's,
In this quick example, let's see how to use form view in django. If you have question about django form view example then I will give simple example with solution. I explained simply about django form view class based views example. ...
Read: https://vagisha.hashnode.dev/how-to-create-and-use-form-view-in-django
Hi Tech Enthu's,
In this quick example, let's see how to use form view in django. If you have question about django form view example then I will give simple example with solution. I explained simply about django form view class based views example. ...
Read: https://vagisha.hashnode.dev/how-to-create-and-use-form-view-in-django
Argon Dashboard BS5 - Free Theme for Django
Hello Coders!
This article presents Argon, an open-source PyPi Package that integrates a pixel-perfect design from Creative-Tim in Django. The product aims to install to any Django project a modern design with a minimal configuration effort. Might be...
Read: https://app-generator.hashnode.dev/argon-dashboard-bs5-free-theme-for-django
Hello Coders!
This article presents Argon, an open-source PyPi Package that integrates a pixel-perfect design from Creative-Tim in Django. The product aims to install to any Django project a modern design with a minimal configuration effort. Might be...
Read: https://app-generator.hashnode.dev/argon-dashboard-bs5-free-theme-for-django
Расширяемый Django: как написать database backend?
Здравствуйте, дорогие бэкенд-разработчики на Python, у меня опять статья про django. И так будет до тех пор, пока в нём не появится нормальная поддержка асинхронности (шучу).
Вопреки распространённому мнению, что django - это фреймворк "с батарейками", но не очень поддаётся кастомизации, это не так. Необходимость поддержки разных провайдеров, поддержка так называемого multi-db (одновременное использование нескольких баз), да и просто банальное использование здравого смысла (местами!) сделало этот фреймворк одним из наиболее расширяемых среди ORM.
В этой статье я расскажу, как устроен database backend - это та штука, которая отвечает за поддержку конкретной базы данных и конкретного драйвера для неё. Я сделаю это на довольно экзотическом примере: мы с вами добавим поддержку асинхронного драйвера - psycopg3. Да, именно асинхронного. А Вы думали, что django так не умеет? Читайте и судите сами.
Читать
Читать: https://habr.com/ru/post/698938/
Здравствуйте, дорогие бэкенд-разработчики на Python, у меня опять статья про django. И так будет до тех пор, пока в нём не появится нормальная поддержка асинхронности (шучу).
Вопреки распространённому мнению, что django - это фреймворк "с батарейками", но не очень поддаётся кастомизации, это не так. Необходимость поддержки разных провайдеров, поддержка так называемого multi-db (одновременное использование нескольких баз), да и просто банальное использование здравого смысла (местами!) сделало этот фреймворк одним из наиболее расширяемых среди ORM.
В этой статье я расскажу, как устроен database backend - это та штука, которая отвечает за поддержку конкретной базы данных и конкретного драйвера для неё. Я сделаю это на довольно экзотическом примере: мы с вами добавим поддержку асинхронного драйвера - psycopg3. Да, именно асинхронного. А Вы думали, что django так не умеет? Читайте и судите сами.
Читать
Читать: https://habr.com/ru/post/698938/
👍3
Develop an e-Commerce Store using Django for Beginners
We will use the following approach to build the e-commerce store:
Get a template
Start a Django project and application
Add your template to the Django file system and configure URLs.
Define a model to save products and call those products onto your...
Read: https://emmakodes.com/develop-an-e-commerce-store-using-django-for-beginners
We will use the following approach to build the e-commerce store:
Get a template
Start a Django project and application
Add your template to the Django file system and configure URLs.
Define a model to save products and call those products onto your...
Read: https://emmakodes.com/develop-an-e-commerce-store-using-django-for-beginners
Introduction to Django Forms.
Overview
An HTML Form is a group of one or more fields/widgets on a web page, which can be used to collect information from users for submission to a server. Forms are a flexible mechanism for collecting user input because there are suitable widgets ...
Read: https://afeez1131.hashnode.dev/introduction-to-django-forms
Overview
An HTML Form is a group of one or more fields/widgets on a web page, which can be used to collect information from users for submission to a server. Forms are a flexible mechanism for collecting user input because there are suitable widgets ...
Read: https://afeez1131.hashnode.dev/introduction-to-django-forms
👍1