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

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

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

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

Другие наши проекты: https://tprg.ru/media
Download Telegram
How to get started with Python?

Welcome to the world of Python! Python is a popular, high-level programming language known for its simplicity, readability, and versatility. It is used in a variety of fields, including web development, data analysis, artificial intelligence, and sci...

Read: https://technicave.hashnode.dev/how-to-get-started-with-python
Briefly about mongodb

Briefly about mongodb:

import pymongo
#connect_string = localhost

from django.conf import settings
my_client = pymongo.mongoclient(connect_string, 27017)

# First define the database name
dbname = my_clientsample_medicines

# Now get/create the col...

Read: https://linux70.hashnode.dev/briefly-about-mongodb
What is Django?

Django is a secure and easy-to-learn web framework which follows MVT architecture inspired by MVC(Model-View-Controller) enabling us a quick development process with its built-in admin side, ORM(Object Relational Mapping), etc.
MVT here is Model-View...

Read: https://rajm.hashnode.dev/what-is-django
👍1
How to register a model twice in the Django admin?

Note: If you want to read the blog series on Django Admin customization, then click here.

Suppose you have a Book model as given below.
# app_name/models.py

class Book(models.Model):
...
title = models.CharField(max_length=150)
is_activ...

Read: https://blog.devjunction.in/how-to-register-a-model-twice-in-the-django-admin
Deploy a Django application using Gunicorn and Nginx

Differences by responsibility
Django is a web framework used to build web applications.
Gunicorn is an application server which transfers HTTP requests to web applications. It implements WSGI (Web Server Gateway Interface) which works as an interface...

Read: https://akashojha.hashnode.dev/deploy-a-django-application-using-gunicorn-and-nginx
Boost your Django skills: Learn how to use super()

The super() keyword is a useful tool in Django, a high-level Python web framework, for working with inheritance in classes. It allows a subclass to refer to its parent class, allowing the subclass to inherit attributes and methods from the parent cla...

Read: https://selftaughtdev.me/boost-your-django-skills-learn-how-to-use-super
Top 5 Optimization Tips to Improve Django Performance

As a popular Python web framework, Django is known for its simplicity and ease of use. However, as with any web framework, performance can be an issue. In this article, we will explore some tips and techniques that can help you optimize your Django a...

Read: https://giasuddin90.hashnode.dev/top-5-optimization-tips-to-improve-django-performance
👍1
How to setup a Django project

Are you looking to start a Django project but don't know where to begin? Django is a great web development framework for creating web applications quickly and easily. However, without a virtual environment, your project can become messy and difficult...

Read: https://rajm.hashnode.dev/how-to-setup-a-django-project
How to setup a Django project with MySQL in few minutes

Using the default SQLite in a production environment is not recommended. So, you could use other SQL databases like MySQL, PostgreSQL, etc or No-SQL databases like MongoDB, Firebase, Redis, etc.
Here I'll demonstrate how you could use MySQL as a data...

Read: https://rajm.hashnode.dev/how-to-setup-a-django-project-with-mysql-in-few-minutes
👍1
Build a Blog API With JWT Authentication Using Django Rest Framework

Django REST framework is a powerful and flexible toolkit for building Web APIs. You can easily build a REST API using DRF and consume the endpoints from a React, Angular, or other Frontend application. DRF provides a lot of features out of the box to...

Read: https://documatic.hashnode.dev/build-a-blog-api-with-jwt-authentication-using-django-rest-framework
Understanding Django translation mechanism

Let's try to understand django translation mechanism. Firstly, django uses a widely used mechanism in most open-source software, which is gettext, so it's not unique to django alone. Many other open-source software also using gettext as their transla...

Read: https://grep.koditi.my/understanding-django-translation-mechanism
Django Web Framework and its MVT architecture

My first experience with Django was very challenging, maybe because I needed to use this web framework to develop an e-commerce website quickly in one of my projects. I’ve been writing in python for a while now and then I thought Django would be easy...

Read: https://savviesammie.hashnode.dev/django-web-framework-and-its-mvt-architecture
Django Proxy Inheritance

Proxy Inheritance This style is used if you only want to change the behavior of the model at the python level without changing the fields of the model. You inherit from the base class and can add your own properties other than fields. The base class ...

Read: https://linux70.hashnode.dev/django-proxy-inheritance
👍1
How to use mixins, Viewsets & Routers to create a Todo API in Django Rest Framework

Introduction
Following this link: https://emmakodes.com/build-a-todo-api-backend-using-generic-class-based-views-in-django-rest-framework we implemented a Todo API using Generic class-based views in Django Rest Framework.
In this article, we will see...

Read: https://emmakodes.com/how-to-use-mixins-viewsets-routers-to-create-a-todo-api-in-django-rest-framework
Unlock the Power of Python Web Development With Django

What Is Django?
Django is an open-source web framework that is written in the Python programming language. It is a full-stack framework, meaning it provides an all-in-one solution for developing dynamic web applications. It is designed to make the de...

Read: https://sense.hashnode.dev/unlock-the-power-of-python-web-development-with-django
Fixing Template does not exist errors in Django-apps

Recently I embarked on a project using the Django framework to build a blog site that does a variety of functions, it served as a good way of honing my skills in python until I encountered a bug that got me stuck for three days. Apparently, my Django...

Read: https://micha-el.hashnode.dev/fixing-template-does-not-exist-errors-in-django-apps
Advanced Django ORM techniques

Django is a powerful web framework that provides a rich set of tools for interacting with databases. One of the key features of Django is its object-relational mapper (ORM), which allows developers to interact with databases using Python code instead...

Read: https://maxzeno.hashnode.dev/advanced-django-orm-techniques
How To Deploy A Django Application To Python Anywhere

I developed a chest burn when I got the email that Heroku was ending their free tier plan. If you have used Heroku you would understand its ease of deployment.
I found python anywhere good a deployment platform with a free tier plan still existing.
H...

Read: https://izudada.hashnode.dev/how-to-deploy-a-django-application-to-python-anywhere
Building a CRUD API with Django

If you're looking to build a RESTful API using Django, one of the easiest ways to do so is by utilizing Django's built-in views and serializers. In this article, we'll explore how to create a basic CRUD (create, read, update, delete) API using these ...

Read: https://maxzeno.hashnode.dev/building-a-crud-api-with-django
Django

Django is a python framework that is used to create websites using python. It comes with many inbuilt features like a login system, database connection, and CRUD(Create, Read, Update, Delete) operations.
It emphasizes the reusability of code/componen...

Read: https://00universityexperience.hashnode.dev/django
Dockerize Python: создаём образ Docker из приложения на Python

Рассказываем, как создать Docker-контейнер из приложения на языке Python, и как Docker работает с фреймворками Python.

Читать: «Dockerize Python: создаём образ Docker из приложения на Python»