django

Django Advanced Usage Form Specifies Field Validation Data

At work, you will encounter that the data filled in the form needs to be verified separately. This …

Django.Urls.Exceptions.Noreversematch: 'Xxx' Is Not A Registered Namespace

## environment * django== 2.1.1 * Render url in html **xx.html** ``` <a href='{% url…

Django Django-Registration Automated Registration

## Install `django-registration` ``` pip install django-registration ``` **note**: `djan…

Get The Requested Url From Django Request

django request Get the requested URL * `request.get_host()`: Get the request address * `req…

Optimization/Solution For Problem That Django Pagination Extraction Speed Is Too Slow

## Introduction Fast paging can be achieved in django, but when the data reaches several million…

How To View The Sql Statements Executed By Django Orm

Django ORM encapsulates database operations quite well, and most of the daily database operations c…

Database Access Optimization In Django-Pre-Loading Related Data

## Introduction Django's model layer provides an ORM system, which allows us to use the database…

Enable Django Applications Of Different Ports On The Same Server To Be Opened On The Same Browser

## Brief introduction When we visit a django website for the first time, django will generate a …

Django Url Parameter Alias Writing

Django **url** parameter alias writing use url ``` from django.conf.urls import url url(r'^dat…

Django Dynamically Creates Multiple Table Names Of A Model And Operates Them Through Django Orm

Create tables dynamically and operate them through Django ORM. ## Dynamically create tables D…