Django Unleashed Framework
1.43K subscribers
2.19K photos
2.63K links
Лучшие материалы по разработке на фреймворке Django на русском и английском языке

Разместить рекламу: @tproger_sales_bot

Правила общения: https://tprg.ru/rules

Другие каналы: @tproger_channels

Другие наши проекты: https://tprg.ru/media
Download Telegram
How to convert your Function Based View into a Class Based View in Django?

In Django you can use a Function Based View(FBV) or a Class Based View(CBV), both kinds have its own advantages and disadvantages.
But there is no doubt that CBV can make your work a lot easier than FBV by handling some repetitive work for you.
Conve...

Read: https://blog.devjunction.in/convert-your-function-based-view-into-a-class-based-view-in-django
👍1
How to update User Profile and User in one request in Django Rest Framework?

Let’s say you have a Django User model and a UserProfile model connected via OneToOneField . Your goal is to serialize both the models together in a single request to perform needed CRUD operations.
Note: I am not assuming whether you have a custom U...

Read: https://blog.devjunction.in/update-user-profile-and-user-in-one-request-in-django-rest-framework
👍1
Layman’s guide to Signals in Django

Introduction & Analogy:
What is a signal in Django ?

Let's say you and your friend have planned a robbery. You will enter the bank and your friend will be waiting outside.
As soon as police arrives, your friend will give you a signal through a dispa...

Read: https://blog.devjunction.in/laymans-guide-to-signals-in-django
👍1
Testing Django login and registration forms with Pytest and Selenium

One of my goals while working on my current Django project is to get to grips with unit and functional testing. A commonly-used framework for testing Python code is Pytest, which allows us to write tests using fixtures to initialise test data and to ...

Read: https://nomadiq.hashnode.dev/testing-django-login-and-registration-forms-with-pytest-and-selenium
👍2
Separating Sensitive Data from Code (using python-decouple)

Whenever I learn any code related stuff, I make sure I follow it all through till the end and then push the code to My Repo. As I git push and enjoy the feeling of completing a task, sometimes GitHub Bot tries to cut short the party by emailing me ab...

Read: https://jjokah.hashnode.dev/separating-sensitive-data-from-code-using-python-decouple
👍2
How to set up AWS S3 in Django?

In Django, we can use AWS S3 for two common things:

For user uploaded files/images
For Django static files

Before we cover both the use cases, let’s install a third party package, we’ll be using this third party package named django-storages in thi...

Read: https://blog.devjunction.in/how-to-set-up-aws-s3-in-django
How to install Django with Tailwind CSS and Flowbite

Django is an open-source web framework following the model-template-views architecture built in Python currently maintained by the Django Software Organization.
It is currently being used by small and large corporations for websites such as YouTube, ...

Read: https://flowbite.hashnode.dev/how-to-install-django-with-tailwind-css-and-flowbite
Умная кухня

IT в помощь готовой еде.

Любому руководителю важна информация, отражающая скорость и качество работы области, за которую он отвечает. В 2020 году мы в Х5 Tech начали поддерживать производство готовой еды Smart Kitchen («Фабрика кухни») и изучать его внутренние процессы. Оказалось, что руководители поздно получают важную для бизнес-процессов информацию. К примеру, отчёты о сроках отгрузки или списанных позициях IT-платформа считает лишь к середине или даже концу следующего дня.


Читать: https://habr.com/ru/post/668998/
Django bugfix release: 4.0.5

Today we've issued the 4.0.5 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/jun/01/bugfix-release/
PyCharm & DSF Campaign 2022

For the sixth year in a row, Django is partnering with JetBrains PyCharm on the following promotion: 30% off the purchase of any new individual PyCharm Pro licenses with the full proceeds benefitting the Django Software Foundation. The promotion will last 19 days from June 1, 2022 to June 20, 2021.

“The Django and PyCharm partnership has become one of the major fundraising activities of the Django Software Foundation for several years now. We look forward to it each year, and we hope this year will be as great as it always is, or even better. On behalf of the Django Software Foundation and Django community, I would like to express our deepest gratitude to JetBrains for their generosity and support.” - Anna Makarudze, DSF President

Read: https://www.djangoproject.com/weblog/2022/jun/01/pycharm-dsf-campaign-2022/
Django News - Annual Django PyCharm Promotion - Jun 3rd 2022

Read: https://django-news.com/issues/130
Django News - Annual Django PyCharm Promotion - Jun 3rd 2022

Read: https://django-news.com/issues/130
Using Signal in Django to Delete Old Image

Using signal to delete old profile picture when sending update request.
What is Signal in Django.
Signals help decoupled applications get notified when actions occur elsewhere in the framework.
Signals are signals or notifications that are fired at d...

Read: https://sammy-code.com/using-signal-in-django-to-delete-old-image
Maps and the T-Shaped Developer

Recent times have been a flurry of becoming a "T-shaped Developer." This is a concept that was introduced to me by .NET engineer Christopher Johnson. The premise of being a "T-shaped Developer" is to go "deep not wide," but to still have horizontal d...

Read: https://sabrinapyles.hashnode.dev/maps-and-the-t-shaped-developer
👍1🔥1
Подготовили для вас подборки полезной информации по различным направлениям

— для веб-разработчиков: @tproger_web;
— любителям Java: @a_cup_of_java;
— всё о нейросетях: @neuro_channel;
— нужные инструменты для разработчиков: @prog_tools.

Выбирайте, что вам интересно, переходите по ссылке и жмите на закреп. И не забудьте подписаться — там ещё много всего интересного!
👍1
Image Classification with Tensorflow, Django, and Heroku

This tutorial will introduce you to the basics of using tensorflow and heroku for django. We will see how to implement image classification using the tensorflow library with the django web framework and then host the django website on heroku.
This tu...

Read: https://wulfi.hashnode.dev/image-classification-with-tensorflow-django-and-heroku
👍1🔥1
Django: how to bulk create users

One task that I receive most often is to create a list of users in the app. The common way I'm using is to use Jupyter Notebook to clean the user list first and turn them into a python list. Then I use python manage.py shell_plus to write the users i...

Read: https://leon22.hashnode.dev/django-how-to-bulk-create-users
Implementing API in Django Rest Framework to upload and store Images in cloudinary

Introduction
I recently worked with Cloudinary, and I used it to store images for my app. I am writing this article to introduce you to Cloudinary, and also explain how you can implement an API in the Django rest framework that stores an image to clo...

Read: https://ubaydah.hashnode.dev//implementing-api-in-django-rest-framework-to-upload-and-store-images-in-cloudinary
👍2
Django News - Python Developers Survey 2021 Results - Jun 10th 2022

Read: https://django-news.com/issues/131
Django News - Python Developers Survey 2021 Results - Jun 10th 2022

Read: https://django-news.com/issues/131