@3 month concentrated essence Django and Vue joint project development
Project environment construction
1. Build a virtual environment
Virtual environment establishment
2. Install django
Activate virtual environment, install Django, build myweb project
pip installation slow reference:
Posted by webrajesh on Sat, 18 Jan 2020 05:01:20 -0800
1. Data transfer between front and back stations
2. Several common methods of interacting with database and returning data
3. Solutions of multiple buttons corresponding to one form
4. Form control and operation in HTML
5. Message frame message usage
6. Auto now, auto now add of Dat ...
Posted by Ilovetopk on Sat, 18 Jan 2020 04:11:04 -0800
Modify data record
Q object - Q()
Native database operation method
The query of database needs to use manager object
Call the query interface through the MyModel.ob ...
Posted by BDKR on Thu, 16 Jan 2020 07:22:00 -0800
1. Design model
We used to operate the database by writing sql statements. Can we operate the database without writing sql statements? Of course, it's time to use the ORM framework.
1.1 ORM framework
O is object, which means class object, R is relation, translated into Chinese is relation, which means data table in relational database, M is map ...
Posted by pocobueno1388 on Wed, 15 Jan 2020 03:06:21 -0800
1. Problem introduction
2. Use example
4. Custom converter
5. Use regular expressions
7. Code rewriting
September 23. Django The 2.0a1 version has been rel ...
Posted by murali on Sun, 12 Jan 2020 01:50:56 -0800
Posted by shashiku on Wed, 08 Jan 2020 02:53:41 -0800
1. Create the project and set it in settings.py and other basic operations
2. Add data to the database. This database uses mysql database,
If using mysql database, pay attention to
① mysql should be introduced into the init file in the created project file
And set the relevant in ...
Posted by Mistat2000 on Thu, 02 Jan 2020 15:00:01 -0800
Posted by jbulaswad on Thu, 02 Jan 2020 10:39:33 -0800
Because I installed centos7, I don't need to install python2.7. Just follow the steps below.
yum install zlib zlib-devel readline-devel sqlite-devel bzip2-devel openssl-devel gdbm-devel libdbi-devel ncurses-libs kernel-devel libxslt-devel libffi-devel python-devel zlib-devel sshpass gcc git -y
mv /usr/bin/ ...
Posted by dannydefreak on Wed, 01 Jan 2020 07:44:27 -0800
I found a Chinese version that is easy to see
1. The first two problems are the configuration file is wrong:
So I want to put the configuration file here. If I don't want the vi command, it's recommended to c ...
Posted by bachx on Mon, 30 Dec 2019 12:13:21 -0800