Creating custom User models in Django
It's time to get started with development! In case you missed it, I encourage you to check out my first and second posts on this blog in order to understand what this series is about.
Let's create a new Django project call benefits. I'm using an M1 M...
Read: https://djangojourney.hashnode.dev/creating-custom-user-models-in-django
It's time to get started with development! In case you missed it, I encourage you to check out my first and second posts on this blog in order to understand what this series is about.
Let's create a new Django project call benefits. I'm using an M1 M...
Read: https://djangojourney.hashnode.dev/creating-custom-user-models-in-django
Setting up a Django Project
In this blog, we will install Django and set up a sample project to see what all files are generated by Django. We will discuss each file thoroughly. If you haven't gone through the previous blog yet, please read it here.
How to install Django?
Sin...
Read: https://ashutoshkrris.hashnode.dev/setting-up-a-django-project
In this blog, we will install Django and set up a sample project to see what all files are generated by Django. We will discuss each file thoroughly. If you haven't gone through the previous blog yet, please read it here.
How to install Django?
Sin...
Read: https://ashutoshkrris.hashnode.dev/setting-up-a-django-project
Hey Django & Graphql
I have been flirting with Graphql for some time now and yes yes I have heard it all from how it reduces over and under fetching all the way to it is the best tool for building APIs. For the Rest fans out there this is not an article to convince you t...
Read: https://devjatta.hashnode.dev/hey-django-and-graphql
I have been flirting with Graphql for some time now and yes yes I have heard it all from how it reduces over and under fetching all the way to it is the best tool for building APIs. For the Rest fans out there this is not an article to convince you t...
Read: https://devjatta.hashnode.dev/hey-django-and-graphql
Python : Make Your First Django Project + Some Secret Hacks
Prerequisite
Download Visual Studio (We recommend it) or any other IDE
Download Python
Make a virtual environment
virtualenv env
Activate virtual environment
env\Scripts\activate
Install Django
pip install Django
Lets start with Django
...
Read: https://blog.hack2skill.com/python-make-your-first-django-project-some-secret-hacks
Prerequisite
Download Visual Studio (We recommend it) or any other IDE
Download Python
Make a virtual environment
virtualenv env
Activate virtual environment
env\Scripts\activate
Install Django
pip install Django
Lets start with Django
...
Read: https://blog.hack2skill.com/python-make-your-first-django-project-some-secret-hacks
Send emails from Gmails without turning on "Allow less secure apps."
From May 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. You can read more about the update here
A large percentage of tutorials on con...
Read: https://maryam.hashnode.dev/send-emails-from-gmails-without-turning-on-allow-less-secure-apps
From May 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. You can read more about the update here
A large percentage of tutorials on con...
Read: https://maryam.hashnode.dev/send-emails-from-gmails-without-turning-on-allow-less-secure-apps
Send emails from Gmail without turning on "Allow less secure apps."
rom May 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. You can read more about the update here
A large percentage of tutorials on conn...
Read: https://maryam.hashnode.dev/send-emails-from-gmail-without-turning-on-allow-less-secure-apps
rom May 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. You can read more about the update here
A large percentage of tutorials on conn...
Read: https://maryam.hashnode.dev/send-emails-from-gmail-without-turning-on-allow-less-secure-apps
How To Use Django Signals
Introduction
In this technical discourse, I will introduce you to Django Signals, how to use them, and where and when to use them. By the end of this article, you should:
have a firm understanding of the Django signals
be able to create a function t...
Read: https://dracodes2.hashnode.dev/how-to-use-django-signals
Introduction
In this technical discourse, I will introduce you to Django Signals, how to use them, and where and when to use them. By the end of this article, you should:
have a firm understanding of the Django signals
be able to create a function t...
Read: https://dracodes2.hashnode.dev/how-to-use-django-signals
Pytest - How to test that a function is called with specific parameters?
Unit tests are written to test single possible units of your system. When you interact with an external system, such as reading a file from AWS S3, your tests must run without any dependency on this external system. The standard testing practice for ...
Read: https://thelearning.dev/pytest-how-to-test-that-a-function-is-called-with-specific-parameters
Unit tests are written to test single possible units of your system. When you interact with an external system, such as reading a file from AWS S3, your tests must run without any dependency on this external system. The standard testing practice for ...
Read: https://thelearning.dev/pytest-how-to-test-that-a-function-is-called-with-specific-parameters
Senior Python Full Stack Developer (100% Remote Job)
Overview of the Role
We are looking for a smart and enthusiastic Senior Full Stack Developer to join our development team. Your primary focus will be the development of server-side logic ensuring high performance and responsiveness to requests, as we...
Read: https://sojinsamuel.hashnode.dev/senior-python-full-stack-developer-100-remote-job
Overview of the Role
We are looking for a smart and enthusiastic Senior Full Stack Developer to join our development team. Your primary focus will be the development of server-side logic ensuring high performance and responsiveness to requests, as we...
Read: https://sojinsamuel.hashnode.dev/senior-python-full-stack-developer-100-remote-job
👍2
Integrating hCaptcha with Django-allauth
We may face issues when someone uses bots to abuse our system and send automated signup/password reset to random people. So hCaptcha is a really good way to avoid bots.
Setting Up hCaptcha account
First we need new hCaptcha account. If you don't ha...
Read: https://dilutewater.hashnode.dev/integrating-hcaptcha-with-django-allauth
We may face issues when someone uses bots to abuse our system and send automated signup/password reset to random people. So hCaptcha is a really good way to avoid bots.
Setting Up hCaptcha account
First we need new hCaptcha account. If you don't ha...
Read: https://dilutewater.hashnode.dev/integrating-hcaptcha-with-django-allauth
Django 4.1 beta 1 released
Django 4.1 beta 1 is now available. It represents the second stage in the 4.1
release cycle and is an opportunity for you to try out the changes coming in
Django 4.1.
Django 4.1 has an profusion of new features which you can read about in the in-development 4.1 release notes.
Only bugs in new features and regressions from earlier versions of Django will be
fixed between now and 4.1 final (also, translations will be updated following the
"string freeze" when the release candidate is issued). The current
release schedule calls for a release candidate in a month from now with the
final release to follow about two weeks after that around August 3. Early and often
testing from the community will help minimize the number of bugs in the release.
Updates on the release schedule schedule are available on the django-developers mailing list.
As with all alpha and beta packages, this is not for production use. But
if you'd like to take some of the new features for a spin, or to help find and
fix bugs (which should be reported to the issue tracker), you can grab a
copy of the beta package from our downloads page or on PyPI.
The PGP key ID used for this release is Carlton Gibson: E17DF5C82B4F9D00.
Read: https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
Django 4.1 beta 1 is now available. It represents the second stage in the 4.1
release cycle and is an opportunity for you to try out the changes coming in
Django 4.1.
Django 4.1 has an profusion of new features which you can read about in the in-development 4.1 release notes.
Only bugs in new features and regressions from earlier versions of Django will be
fixed between now and 4.1 final (also, translations will be updated following the
"string freeze" when the release candidate is issued). The current
release schedule calls for a release candidate in a month from now with the
final release to follow about two weeks after that around August 3. Early and often
testing from the community will help minimize the number of bugs in the release.
Updates on the release schedule schedule are available on the django-developers mailing list.
As with all alpha and beta packages, this is not for production use. But
if you'd like to take some of the new features for a spin, or to help find and
fix bugs (which should be reported to the issue tracker), you can grab a
copy of the beta package from our downloads page or on PyPI.
The PGP key ID used for this release is Carlton Gibson: E17DF5C82B4F9D00.
Read: https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
👍1
Projects build using django framework
Read: https://pythonawesome.com/projects-build-using-django-framework/
Read: https://pythonawesome.com/projects-build-using-django-framework/
Все фигня, давай по-новой или модерация объектов в Django Rest Framework
— Ты не работал с пакетом django-moderation? И если нет, были ли у тебя задачи по модерации объектов, а конкретно: пользователь предлагает изменения, а другой пользователь либо отклоняет, либо принимает их?
— Не, не делал такого. Вот я все таки ох обескуражен от твоих занятий. Зачем такое вообще нужно?
... как всегда вырвано из контекста.
Читать: https://habr.com/ru/post/672952/
— Ты не работал с пакетом django-moderation? И если нет, были ли у тебя задачи по модерации объектов, а конкретно: пользователь предлагает изменения, а другой пользователь либо отклоняет, либо принимает их?
— Не, не делал такого. Вот я все таки ох обескуражен от твоих занятий. Зачем такое вообще нужно?
... как всегда вырвано из контекста.
Читать: https://habr.com/ru/post/672952/
PyCharm & DSF Campaign 2022 Results
The sixth annual JetBrains PyCharm promotion in June netted the Django Software Foundation $25,000 this year.
This amount represents over 10% of the DSF's overall budget, which goes directly into funding the continued development and support of Django via the Django Fellowship program and Django conferences worldwide.
Django Software Foundation
The Django Software Foundation is the non-profit foundation that supports the development of the Django Web framework. It funds the Django Fellowship program, which currently supports two Fellows who triage tickets, review/merge patches from the community, and work on infrastructure. The introduction of this program starting in 2015 has gone a long way towards ensuring a consistent major release cycle and the fixing/blocking of severe bugs. DSF also funds development sprints, community events like DjangoCons, and related conferences and workshops globally.
Fundraising is still ongoing and you can donate directly at djangoproject.com/fundraising.
Read: https://www.djangoproject.com/weblog/2022/jun/24/pycharm-dsf-campaign-2022-results/
The sixth annual JetBrains PyCharm promotion in June netted the Django Software Foundation $25,000 this year.
This amount represents over 10% of the DSF's overall budget, which goes directly into funding the continued development and support of Django via the Django Fellowship program and Django conferences worldwide.
Django Software Foundation
The Django Software Foundation is the non-profit foundation that supports the development of the Django Web framework. It funds the Django Fellowship program, which currently supports two Fellows who triage tickets, review/merge patches from the community, and work on infrastructure. The introduction of this program starting in 2015 has gone a long way towards ensuring a consistent major release cycle and the fixing/blocking of severe bugs. DSF also funds development sprints, community events like DjangoCons, and related conferences and workshops globally.
Fundraising is still ongoing and you can donate directly at djangoproject.com/fundraising.
Read: https://www.djangoproject.com/weblog/2022/jun/24/pycharm-dsf-campaign-2022-results/
How to handle background tasks in a microservice architecture built with Django using Redis and Celery
Objectives
Build a simple Microservice API
Introduce Redis and its benefits
Successfully Set up a Redis instance in the Redis lab
Connect celery and Redis and run background tasks successfully
Deploy the API to Heroku and run it successfully in pr...
Read: https://ubaydah.hashnode.dev//how-to-handle-background-tasks-in-a-microservice-architecture-built-with-django-using-redis-and-celery
Objectives
Build a simple Microservice API
Introduce Redis and its benefits
Successfully Set up a Redis instance in the Redis lab
Connect celery and Redis and run background tasks successfully
Deploy the API to Heroku and run it successfully in pr...
Read: https://ubaydah.hashnode.dev//how-to-handle-background-tasks-in-a-microservice-architecture-built-with-django-using-redis-and-celery
Ubaydah's Blog🎉
Running background tasks in Django using Celery and Redis
A guide to handling asynchronous tasks in a microservice architecture built with Django and Django rest framework using Celery and Redis
Django using Python
Django is a fully-featured Python web framework that can be used to build complex web applications.
Django apps are structured so that there is a separation of logic. It supports the Model-View-Controller Pattern, which is the architecture on which m...
Read: https://theshaily.hashnode.dev/django-using-python
Django is a fully-featured Python web framework that can be used to build complex web applications.
Django apps are structured so that there is a separation of logic. It supports the Model-View-Controller Pattern, which is the architecture on which m...
Read: https://theshaily.hashnode.dev/django-using-python
Datasocks : Realtime IoT made simple ✅
IoT Made simple
An account, an API Key and you are good to go !
The idea behind Datasocks is to provide an easy way to connect, monitor and control multiple IoT devices without having to setup a web server and deal with networking.
Study Case
You ...
Read: https://duraben.hashnode.dev/datasocks-realtime-iot-made-simple
IoT Made simple
An account, an API Key and you are good to go !
The idea behind Datasocks is to provide an easy way to connect, monitor and control multiple IoT devices without having to setup a web server and deal with networking.
Study Case
You ...
Read: https://duraben.hashnode.dev/datasocks-realtime-iot-made-simple
Introducing YTClass
The Problem
YouTube is a great platform for learning anything, you can find videos on almost any topic. Some YouTube playlists are better than paid courses, but the problem is when you start learning from YouTube you end up watching tons of unrelated...
Read: https://ankitdevelops.hashnode.dev/introducing-ytclass
The Problem
YouTube is a great platform for learning anything, you can find videos on almost any topic. Some YouTube playlists are better than paid courses, but the problem is when you start learning from YouTube you end up watching tons of unrelated...
Read: https://ankitdevelops.hashnode.dev/introducing-ytclass