Getting started with Django.
Django is a free open-source python backend framework that helps in building dynamic websites the easy way and is especially helpful for database-driven websites.
Django comes with easy and ready-to-use features so that one can focus more on building...
Read: https://saurabhdev.hashnode.dev/getting-started-with-django
Django is a free open-source python backend framework that helps in building dynamic websites the easy way and is especially helpful for database-driven websites.
Django comes with easy and ready-to-use features so that one can focus more on building...
Read: https://saurabhdev.hashnode.dev/getting-started-with-django
How to use UUID as primary key in a Django Model?
If you are creating a model in Django, Django automatically defines a primary key field called id in the database for that model. But in some cases, you might want to specify your own id field as primary key. It is easy peasy to do in Django, let’s h...
Read: https://blog.devjunction.in/how-to-use-uuid-as-primary-key-in-a-django-model
If you are creating a model in Django, Django automatically defines a primary key field called id in the database for that model. But in some cases, you might want to specify your own id field as primary key. It is easy peasy to do in Django, let’s h...
Read: https://blog.devjunction.in/how-to-use-uuid-as-primary-key-in-a-django-model
Structure of Django Application
Introduction to Django
Django is one of the most popular backend frameworks out there in the market. It is written in python. It is known for its development speed. A project in Django can be up and running in a minimal amount of time. It has a very ...
Read: https://rishabhdev.hashnode.dev/structure-of-django-application
Introduction to Django
Django is one of the most popular backend frameworks out there in the market. It is written in python. It is known for its development speed. A project in Django can be up and running in a minimal amount of time. It has a very ...
Read: https://rishabhdev.hashnode.dev/structure-of-django-application
👍1
Structure of Django Application
Introduction to Django
Django is one of the most popular backend frameworks out there in the market. It is written in python. It is known for its development speed. A project in Django can be up and running in a minimal amount of time. It has a very ...
Read: https://fuzzydevs.hashnode.dev/structure-of-django-application
Introduction to Django
Django is one of the most popular backend frameworks out there in the market. It is written in python. It is known for its development speed. A project in Django can be up and running in a minimal amount of time. It has a very ...
Read: https://fuzzydevs.hashnode.dev/structure-of-django-application
Django React Integration
In this tutorial, you will learn to create a hybrid web application using Django, react, and webpack. A hybrid web app means:
It's up to us to decide which page is a single-page application or a Django-powered jinja frontend or both.
URLs or routes ...
Read: https://raturitechmedia.hashnode.dev/django-react-integration
In this tutorial, you will learn to create a hybrid web application using Django, react, and webpack. A hybrid web app means:
It's up to us to decide which page is a single-page application or a Django-powered jinja frontend or both.
URLs or routes ...
Read: https://raturitechmedia.hashnode.dev/django-react-integration
How To Show Image From Imagefield In Django Admin Page?
As shown in the above image, we can clearly see that we can add image as a column in the Django admin and show it there.
Let’s check out how can we achieve that.
Here is our model which contains the ImageField along with other fields,
# models.py
cl...
Read: https://blog.devjunction.in/how-to-show-image-from-imagefield-in-django-admin-page
As shown in the above image, we can clearly see that we can add image as a column in the Django admin and show it there.
Let’s check out how can we achieve that.
Here is our model which contains the ImageField along with other fields,
# models.py
cl...
Read: https://blog.devjunction.in/how-to-show-image-from-imagefield-in-django-admin-page
👍4
Tinymce Django: WYSIWYG editor
There are a lot of WYSIWYG editors available on the internet, some are paid and some are free. After exploring and experimenting with various editors I found tinymce, one of the best WYSIWYG editors. So in this tutorial, I will show how you can insta...
Read: https://raturitechmedia.hashnode.dev/tinymce-django-wysiwyg-editor
There are a lot of WYSIWYG editors available on the internet, some are paid and some are free. After exploring and experimenting with various editors I found tinymce, one of the best WYSIWYG editors. So in this tutorial, I will show how you can insta...
Read: https://raturitechmedia.hashnode.dev/tinymce-django-wysiwyg-editor
Reasons why you should give a try to Django once in your lifetime
Django, a great framework for Professionals with deadlines.
Let me reintroduce to you the most loved Python framework of all time, Django. 👇
Django is designed to build web applications from concept to completion as quickly as possible.
Unlike ...
Read: https://blog.devjunction.in/reasons-why-you-should-give-a-try-to-django-once-in-your-lifetime
Django, a great framework for Professionals with deadlines.
Let me reintroduce to you the most loved Python framework of all time, Django. 👇
Django is designed to build web applications from concept to completion as quickly as possible.
Unlike ...
Read: https://blog.devjunction.in/reasons-why-you-should-give-a-try-to-django-once-in-your-lifetime
Dev.Junction
Reasons why you should give a try to Django once in your lifetime
Why you must use Django for your next project?
Асинхронность в питоне — это хайп, не стоит отказываться от блокирующего кода
Здравствуйте, читатели хабра! Читайте в этой статье - развенчание мифов об асинхронном программировании в Python! Действительно ли асинхронная модель - более производительная? И как обстоят дела с драйверами баз данных?
На картинке - скриншот бенчмарков от авторов драйвера asyncpg. Как Вы можете догадаться, автор этой статьи с ними не согласен.
Некоторые читатели знают из моих предыдущих статей о моих (вполне успешных!) попытках сделать асинхронную версию django. Я решил прекратить работу над ней - столько труда напрасно! Читайте - и не делайте так.
Стандарту WSGI 19 лет (c хвостиком). Выясняем, есть ли ещё куда развиваться приложениям с блокирующим вводом-выводом в 2022.
Читать
Читать: https://habr.com/ru/post/703422/
Здравствуйте, читатели хабра! Читайте в этой статье - развенчание мифов об асинхронном программировании в Python! Действительно ли асинхронная модель - более производительная? И как обстоят дела с драйверами баз данных?
На картинке - скриншот бенчмарков от авторов драйвера asyncpg. Как Вы можете догадаться, автор этой статьи с ними не согласен.
Некоторые читатели знают из моих предыдущих статей о моих (вполне успешных!) попытках сделать асинхронную версию django. Я решил прекратить работу над ней - столько труда напрасно! Читайте - и не делайте так.
Стандарту WSGI 19 лет (c хвостиком). Выясняем, есть ли ещё куда развиваться приложениям с блокирующим вводом-выводом в 2022.
Читать
Читать: https://habr.com/ru/post/703422/
Django bugfix release: 4.1.4
Today we've issued the 4.1.4 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 Carlton Gibson: E17DF5C82B4F9D00.
Read: https://www.djangoproject.com/weblog/2022/dec/06/bugfix-release/
Today we've issued the 4.1.4 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 Carlton Gibson: E17DF5C82B4F9D00.
Read: https://www.djangoproject.com/weblog/2022/dec/06/bugfix-release/
DjangoCon US and Europe 2022 Talks Available Online
The organizers of DjangoCon US and DjangoCon Europe spend a tremendous amount of energy both hosting the conferences and putting all the talks online after. The complete playlists of talks from each conference are now available on YouTube:
* DjangoCon Europe 2022
* DjangoCon US 2022
Read: https://www.djangoproject.com/weblog/2022/dec/06/djangocon-us-and-europe-2022-talks-available-onlin/
The organizers of DjangoCon US and DjangoCon Europe spend a tremendous amount of energy both hosting the conferences and putting all the talks online after. The complete playlists of talks from each conference are now available on YouTube:
* DjangoCon Europe 2022
* DjangoCon US 2022
Read: https://www.djangoproject.com/weblog/2022/dec/06/djangocon-us-and-europe-2022-talks-available-onlin/
👍1
How to add WYSIWYG (What You See Is What You Get) editor to Django Project?
WYSIWYG aka What You See Is What You Get is a very useful for the content rich websites, and by default Django Admin comes with a simple HTML text field. In this blog, we’ll add a Rich Text Editor (WYSIWYG) to our Django project.
We’ll use one of the...
Read: https://blog.devjunction.in/how-to-add-wysiwyg-what-you-see-is-what-you-get-editor-to-django-project
WYSIWYG aka What You See Is What You Get is a very useful for the content rich websites, and by default Django Admin comes with a simple HTML text field. In this blog, we’ll add a Rich Text Editor (WYSIWYG) to our Django project.
We’ll use one of the...
Read: https://blog.devjunction.in/how-to-add-wysiwyg-what-you-see-is-what-you-get-editor-to-django-project
👍1
Know about Models in Django
Introduction to Django models
In the process of learning Django, you surely will come across Django models. It is an important component of any Django application. Having good knowledge is essential to create an efficient web application using Django...
Read: https://rishabhdev.hashnode.dev/know-about-models-in-django
Introduction to Django models
In the process of learning Django, you surely will come across Django models. It is an important component of any Django application. Having good knowledge is essential to create an efficient web application using Django...
Read: https://rishabhdev.hashnode.dev/know-about-models-in-django
Know about Models in Django
Introduction to Django models
In the process of learning Django, you surely will come across Django models. It is an important component of any Django application. Having good knowledge is essential to create an efficient web application using Django...
Read: https://fuzzydevs.hashnode.dev/know-about-models-in-django
Introduction to Django models
In the process of learning Django, you surely will come across Django models. It is an important component of any Django application. Having good knowledge is essential to create an efficient web application using Django...
Read: https://fuzzydevs.hashnode.dev/know-about-models-in-django
All you need to about Django Caching-redis-cache
Application performance tuning and decreasing the load time of a web application is very important for successful products. Redis, a versatile tool, is an open-source, in-memory data structure store, used as a database, cache, and message broker. In ...
Read: https://giasuddin90.hashnode.dev/all-you-need-to-about-django-caching-redis-cache
Application performance tuning and decreasing the load time of a web application is very important for successful products. Redis, a versatile tool, is an open-source, in-memory data structure store, used as a database, cache, and message broker. In ...
Read: https://giasuddin90.hashnode.dev/all-you-need-to-about-django-caching-redis-cache
Migrating my apps from Heroku to Railway
Heroku is slowly closing all its free services from 28th November. My free deployments were also removed. So, let's migrate them from Heroku.
What is Heroku?
Heroku is one of the most popular cloud PaaS (Platform as a Service) platforms. If you are a...
Read: https://blog.musfiqdehan.me/migrating-my-apps-from-heroku-to-railway
Heroku is slowly closing all its free services from 28th November. My free deployments were also removed. So, let's migrate them from Heroku.
What is Heroku?
Heroku is one of the most popular cloud PaaS (Platform as a Service) platforms. If you are a...
Read: https://blog.musfiqdehan.me/migrating-my-apps-from-heroku-to-railway
Implementing a MultiTenant Database Architecture with Django
Multitenancy is an architecture in which a single instance of software runs on a server and serves multiple tenants. A tenant, in this case, is a group of users who share common access with specific privileges to the software instance. A lot of moder...
Read: https://untitled.hashnode.dev/implementing-a-multitenant-database-architecture-with-django
Multitenancy is an architecture in which a single instance of software runs on a server and serves multiple tenants. A tenant, in this case, is a group of users who share common access with specific privileges to the software instance. A lot of moder...
Read: https://untitled.hashnode.dev/implementing-a-multitenant-database-architecture-with-django
Build a Todo API backend using Generic class-based views in Django Rest Framework
Introduction
We will build a to-do API backend using Django Rest Framework. We will be able to create, read, update and delete to-dos.
Set up
Create a new folder and open it with your code editor
Run the following command on your terminal to create...
Read: https://emmakodes.com/build-a-todo-api-backend-using-generic-class-based-views-in-django-rest-framework
Introduction
We will build a to-do API backend using Django Rest Framework. We will be able to create, read, update and delete to-dos.
Set up
Create a new folder and open it with your code editor
Run the following command on your terminal to create...
Read: https://emmakodes.com/build-a-todo-api-backend-using-generic-class-based-views-in-django-rest-framework
How to Import or Export Data from Django Admin?
If you have been using Django admin, you might have realized that there is no way that you can import to export some data from the Django admin panel in supported formats such as CSV, JSON or an Excel Spreadsheet etc.
Well, without wasting any time, ...
Read: https://blog.devjunction.in/how-to-import-or-export-data-from-django-admin
If you have been using Django admin, you might have realized that there is no way that you can import to export some data from the Django admin panel in supported formats such as CSV, JSON or an Excel Spreadsheet etc.
Well, without wasting any time, ...
Read: https://blog.devjunction.in/how-to-import-or-export-data-from-django-admin
How to perform data validation in Django Rest Framework?
In Django Rest Framework (DRF), we get serializers to serialize our native Python data types into JSON or XML, serializers can also perform deserialization along with serialization. This means a serializer can convert a native Python data type such a...
Read: https://blog.devjunction.in/how-to-perform-data-validation-in-django-rest-framework
In Django Rest Framework (DRF), we get serializers to serialize our native Python data types into JSON or XML, serializers can also perform deserialization along with serialization. This means a serializer can convert a native Python data type such a...
Read: https://blog.devjunction.in/how-to-perform-data-validation-in-django-rest-framework
How to generate Swagger documentation for Rest APIs in Django Rest Framework?
Unlike our last blog, where we used DRF’s Open API schema generation to auto-generate the API documentation, in this blog, we are going to use drf-yasg to auto-generate the Swagger documentation for our Rest APIs created with Django Rest Framework.
I...
Read: https://blog.devjunction.in/how-to-generate-swagger-documentation-for-rest-apis-in-django-rest-framework
Unlike our last blog, where we used DRF’s Open API schema generation to auto-generate the API documentation, in this blog, we are going to use drf-yasg to auto-generate the Swagger documentation for our Rest APIs created with Django Rest Framework.
I...
Read: https://blog.devjunction.in/how-to-generate-swagger-documentation-for-rest-apis-in-django-rest-framework