Python Дайджест: как актуализировать всю кодовую базу с помощью pre-commit
Продолжаю рассказывать, как open source проект Python Дайджест спустя 5 лет без обновлений удалось актуализировать по всему стэку технологий. В первой части рассказал, как удалось outdated проект с Python 3.4 обновить до Python 3.11 и Django 4.1.
В этой части расскажу, как удалось максимально дешево привести кодовую базу в актуальное состояние.
Читать: https://habr.com/ru/post/721732/
Продолжаю рассказывать, как open source проект Python Дайджест спустя 5 лет без обновлений удалось актуализировать по всему стэку технологий. В первой части рассказал, как удалось outdated проект с Python 3.4 обновить до Python 3.11 и Django 4.1.
В этой части расскажу, как удалось максимально дешево привести кодовую базу в актуальное состояние.
Читать: https://habr.com/ru/post/721732/
Дайджест Python #5: как сделать свой Copilot и работать с данными в Pandas
Собрали дайджест из лучших статей и новостей о Python с 1 по 15 марта. Дайджест включает статьи и видео на русском и английском языках.
Читать: «Дайджест Python #5: как сделать свой Copilot и работать с данными в Pandas»
Собрали дайджест из лучших статей и новостей о Python с 1 по 15 марта. Дайджест включает статьи и видео на русском и английском языках.
Читать: «Дайджест Python #5: как сделать свой Copilot и работать с данными в Pandas»
A step by step guide to building Blog ApI with Django Rest Framework Part 1
In this post, I will cover how you can build a blog API in DRF (Django Rest Framework). This is a step-by-step guide that will help you get started in building your (probably) first API project.
I will assume you already have python installed on your...
Read: https://codenego.tech/a-step-by-step-guide-to-building-blog-api-with-django-rest-framework
In this post, I will cover how you can build a blog API in DRF (Django Rest Framework). This is a step-by-step guide that will help you get started in building your (probably) first API project.
I will assume you already have python installed on your...
Read: https://codenego.tech/a-step-by-step-guide-to-building-blog-api-with-django-rest-framework
Open edX tips & tricks (for pre Tutor era)
Change access permission of pem file
sudo chmod 400 my_private_key.pem
SSH into your server
ssh -i my_private_key.pem ubuntu@<ip_of_your_server
Set the OPENEDX_RELEASE variable
# For native installation
export OPENEDX_RELEASE=open-release/maple....
Read: https://jramnai.hashnode.dev/open-edx-tips-tricks-for-pre-tutor-era
Change access permission of pem file
sudo chmod 400 my_private_key.pem
SSH into your server
ssh -i my_private_key.pem ubuntu@<ip_of_your_server
Set the OPENEDX_RELEASE variable
# For native installation
export OPENEDX_RELEASE=open-release/maple....
Read: https://jramnai.hashnode.dev/open-edx-tips-tricks-for-pre-tutor-era
Implementing Authentication for School Management System with Django
Overview
For the authentication system, we will start by defining our user model and then creating proxy models to differentiate between different types of users. We will also define custom managers for the models to override the create_user and get_...
Read: https://rishabhdev.hashnode.dev/implementing-authentication-for-school-management-system-with-django
Overview
For the authentication system, we will start by defining our user model and then creating proxy models to differentiate between different types of users. We will also define custom managers for the models to override the create_user and get_...
Read: https://rishabhdev.hashnode.dev/implementing-authentication-for-school-management-system-with-django
Diving into Django
Have you been eager to start building web applications with Python but don't know where to begin? Look no further than Django! As a beginner-friendly web framework, Django offers a powerful and flexible platform for developing web applications quickl...
Read: https://ldpenrose.hashnode.dev/diving-into-django
Have you been eager to start building web applications with Python but don't know where to begin? Look no further than Django! As a beginner-friendly web framework, Django offers a powerful and flexible platform for developing web applications quickl...
Read: https://ldpenrose.hashnode.dev/diving-into-django
Django REST. Реализация функционала добавления в «избранное» с возможностью расширения типов добавляемого контента
Допустим у нас есть зарегистрированные пользователи и какая-то модель, например "Компании", которую пользователь может добавлять в избранное. Обычно такая задача решается путем создания третьей таблицы
Читать: https://habr.com/ru/post/723300/
Допустим у нас есть зарегистрированные пользователи и какая-то модель, например "Компании", которую пользователь может добавлять в избранное. Обычно такая задача решается путем создания третьей таблицы
Favorite
, являющейся связующим звеном, для реализации ManyToManyField связи между пользователем и компаниейЧитать: https://habr.com/ru/post/723300/
Django DRF Sign-in with Apple
Привет, уважаемый читатель!
Пришла пора внедрить систему аутентификации от Apple в проект на Django DRF, ведь система входа от Google была реализована давно и по идее проблем не должно было возникнуть, но как сказал один известный гном: "Я ещё никогда так не ошибался..." А теперь по порядку.
Читать: https://habr.com/ru/post/723322/
Привет, уважаемый читатель!
Пришла пора внедрить систему аутентификации от Apple в проект на Django DRF, ведь система входа от Google была реализована давно и по идее проблем не должно было возникнуть, но как сказал один известный гном: "Я ещё никогда так не ошибался..." А теперь по порядку.
Читать: https://habr.com/ru/post/723322/
👍1
From HTML to Django : My Journey as a Web Developer
Introduction
Becoming a web developer is not an easy task. It requires time, dedication, and continuous learning to stay up-to-date with the latest technologies and trends. In this blog, I will share my journey of becoming a web developer and the str...
Read: https://effectpark.hashnode.dev/from-html-to-django-journey
Introduction
Becoming a web developer is not an easy task. It requires time, dedication, and continuous learning to stay up-to-date with the latest technologies and trends. In this blog, I will share my journey of becoming a web developer and the str...
Read: https://effectpark.hashnode.dev/from-html-to-django-journey
❤1
Django 4.2 release candidate 1 released
Django 4.2 release candidate 1 is the final opportunity for you to try out the farrago of new features before Django 4.2 is released.
The release candidate stage marks the string freeze and the call for
translators to submit translations. Provided no major bugs are discovered that can't be solved in
the next two weeks, Django 4.2 will be released on or around April 3. Any
delays will be communicated on the Django forum.
Please use this opportunity to help find and fix bugs (which should be reported to the issue tracker). You can grab a copy of the package from our downloads page or on PyPI.
The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2023/mar/20/django-42-rc1/
Django 4.2 release candidate 1 is the final opportunity for you to try out the farrago of new features before Django 4.2 is released.
The release candidate stage marks the string freeze and the call for
translators to submit translations. Provided no major bugs are discovered that can't be solved in
the next two weeks, Django 4.2 will be released on or around April 3. Any
delays will be communicated on the Django forum.
Please use this opportunity to help find and fix bugs (which should be reported to the issue tracker). You can grab a copy of the package from our downloads page or on PyPI.
The PGP key ID used for this release is Mariusz Felisiak: 2EF56372BA48CD1B.
Read: https://www.djangoproject.com/weblog/2023/mar/20/django-42-rc1/
Roadmap to becoming a Django Developer in 2023
Day 1:
Introduction to Python -
Learn the basics of Python programming language, including data types, control structures, functions, and classes. Refer to the official Python documentation to get started.
Day 2:
Django Fundamentals -
Understand the ...
Read: https://pyguru.hashnode.dev/roadmap-to-becoming-a-django-developer-in-2023
Day 1:
Introduction to Python -
Learn the basics of Python programming language, including data types, control structures, functions, and classes. Refer to the official Python documentation to get started.
Day 2:
Django Fundamentals -
Understand the ...
Read: https://pyguru.hashnode.dev/roadmap-to-becoming-a-django-developer-in-2023
Django or FastAPI? What to use in 2023
Python has a powerful impact on the Web Development field and it has all become possible because of some of the brilliantly developed frameworks like Django, Flask, FastAPI, Bottle and Pynecone. Now, in this article, we will be comparing only Django ...
Read: https://amritutsav.hashnode.dev/django-or-fastapi-what-to-use-in-2023
Python has a powerful impact on the Web Development field and it has all become possible because of some of the brilliantly developed frameworks like Django, Flask, FastAPI, Bottle and Pynecone. Now, in this article, we will be comparing only Django ...
Read: https://amritutsav.hashnode.dev/django-or-fastapi-what-to-use-in-2023
Django Unleashed Framework
Photo
Want to host DjangoCon Europe 2024?
DjangoCon Europe 2023 will be held May 29th-June 2nd in Edinburgh, Scotland, but we're already looking ahead to next year's conference. Could your town - or your football stadium, circus tent, private island or city hall - host this wonderful community event?
Hosting a DjangoCon is an ambitious undertaking. It's hard work, but each year it has been successfully run by a team of community volunteers, not all of whom have had previous experience - more important is enthusiasm, organisational skills, the ability to plan and manage budgets, time and people - and plenty of time to invest in the project.
You'll find plenty of support on offer from previous DjangoCon organisers, so you won't be on your own.
How to apply
If you're interested, we'd love to hear from you. Following the established tradition, the selected hosts will be announced at this year's DjangoCon by last year's organiser but must fall more than one month from DjangoCon US and PyCon US, and EuroPython in the same calendar year. In order to make the announcement at DjangoCon Europe we will need to receive your proposal by May 10.
The more detailed and complete your proposal, the better. Things you should consider, and that we'd like to know about, are:
* dates Ideally between mid May and mid June 2024
* numbers of attendees
* venue(s)
* accommodation
* transport links
* budgets and ticket prices
* committee members
We'd like to see:
* timelines
* pictures
* prices
* draft agreements with providers
* alternatives you have considered
They will all help show that your plans are serious and thorough and that you have the organisational capacity to make it a success.
We will be hosting a virtual informational session for those that are interested or may be interested in organising a DjangoCon. Please complete indicate your interest here.
If you have any questions or concerns about organising a DjangoCon you can Just drop us a line.
Read: https://www.djangoproject.com/weblog/2023/mar/20/want-to-host-djangocon-europe-2024/
DjangoCon Europe 2023 will be held May 29th-June 2nd in Edinburgh, Scotland, but we're already looking ahead to next year's conference. Could your town - or your football stadium, circus tent, private island or city hall - host this wonderful community event?
Hosting a DjangoCon is an ambitious undertaking. It's hard work, but each year it has been successfully run by a team of community volunteers, not all of whom have had previous experience - more important is enthusiasm, organisational skills, the ability to plan and manage budgets, time and people - and plenty of time to invest in the project.
You'll find plenty of support on offer from previous DjangoCon organisers, so you won't be on your own.
How to apply
If you're interested, we'd love to hear from you. Following the established tradition, the selected hosts will be announced at this year's DjangoCon by last year's organiser but must fall more than one month from DjangoCon US and PyCon US, and EuroPython in the same calendar year. In order to make the announcement at DjangoCon Europe we will need to receive your proposal by May 10.
The more detailed and complete your proposal, the better. Things you should consider, and that we'd like to know about, are:
* dates Ideally between mid May and mid June 2024
* numbers of attendees
* venue(s)
* accommodation
* transport links
* budgets and ticket prices
* committee members
We'd like to see:
* timelines
* pictures
* prices
* draft agreements with providers
* alternatives you have considered
They will all help show that your plans are serious and thorough and that you have the organisational capacity to make it a success.
We will be hosting a virtual informational session for those that are interested or may be interested in organising a DjangoCon. Please complete indicate your interest here.
If you have any questions or concerns about organising a DjangoCon you can Just drop us a line.
Read: https://www.djangoproject.com/weblog/2023/mar/20/want-to-host-djangocon-europe-2024/
RoadMap for Django Web Framework
Introduction:
Django is a popular open-source web framework that has been widely adopted by developers for its simplicity, flexibility, and scalability. If you're a beginner who wants to learn Django, this blog post is for you. We'll provide you with...
Read: https://blog.mayankaggarwal.live/roadmap-for-django-web-framework
Introduction:
Django is a popular open-source web framework that has been widely adopted by developers for its simplicity, flexibility, and scalability. If you're a beginner who wants to learn Django, this blog post is for you. We'll provide you with...
Read: https://blog.mayankaggarwal.live/roadmap-for-django-web-framework
Setting up a Django Project On Ubuntu 22.04 — Beginners Guide
Django is a python-based web framework that follows the model-template-views (MTV) architectural pattern. It comes with ready-made components, and you can build versatile and scalable web applications.
But how do you set up your Django project, and i...
Read: https://janetmutua.hashnode.dev/setting-up-a-django-project-on-ubuntu-2204-beginners-guide
Django is a python-based web framework that follows the model-template-views (MTV) architectural pattern. It comes with ready-made components, and you can build versatile and scalable web applications.
But how do you set up your Django project, and i...
Read: https://janetmutua.hashnode.dev/setting-up-a-django-project-on-ubuntu-2204-beginners-guide
[recovery mode] CI/CD GitHub Actions
CI/CD с использованием GitHub Actions (приложение Django)
Читать: https://habr.com/ru/post/723982/
CI/CD с использованием GitHub Actions (приложение Django)
Читать: https://habr.com/ru/post/723982/
Starting Your Django Adventure: Setting Up Your Environment and Project Creation
Introduction
Django is a Python web framework that allows for the rapid development of secure and maintainable web applications. It adheres to the Model-View-Controller (MVC) architectural pattern and prioritizes code reusability. Django is a popular...
Read: https://effectpark.hashnode.dev/starting-your-django-adventure
Introduction
Django is a Python web framework that allows for the rapid development of secure and maintainable web applications. It adheres to the Model-View-Controller (MVC) architectural pattern and prioritizes code reusability. Django is a popular...
Read: https://effectpark.hashnode.dev/starting-your-django-adventure
Django Views - function() based
When we talk about views in Django, views are the core part of Django which serves as the main place to process the incoming request.
Basically, we write out the view function in the views.py file, but we can write this function on a different file a...
Read: https://djangotherightway.com/django-views-function-based
When we talk about views in Django, views are the core part of Django which serves as the main place to process the incoming request.
Basically, we write out the view function in the views.py file, but we can write this function on a different file a...
Read: https://djangotherightway.com/django-views-function-based
Exception handling in DRF
Exceptions are errors or abnormal conditions that occur during the execution of a program. In Django (and Python in general), exceptions are a way to handle and respond to errors that occur while running code.
Here are some common exceptions that can...
Read: https://pythonislove.com/exception-handling-in-drf
Exceptions are errors or abnormal conditions that occur during the execution of a program. In Django (and Python in general), exceptions are a way to handle and respond to errors that occur while running code.
Here are some common exceptions that can...
Read: https://pythonislove.com/exception-handling-in-drf