Getting started with django --- Building the first django website
background
Recently, I have been learning Java and dealing with all kinds of objects every day. When it's enough, it suddenly reminds me that I haven't written python for a long time. After all, python is my favorite. In addition, we are building a caffe+tensorflow+digits environment in ubuntu recentl ...
Posted by Tobeon on Fri, 19 Jul 2019 08:44:02 +0200
Chinese version of Django-REST-framework
quick get start
Here we create a simple API for administrators to view and edit user and group information.
Project Settings
Create a new django project named tutorial and create an APP named quickstart:
# new directory
mkdir tutorial
cd tutorial
# New Virtual Environment
virtualenv env
source env/bin/activate # Windows uses `env Scripts ...
Posted by stakes on Sun, 30 Jun 2019 01:18:17 +0200
Django 1.11.1 + Correct steps for database table operation
Wallpaper. jpg
Hello everyone! Yes, I have issued a "pseudo" tutorial. Originally this article was originally called "Django database table operation summary: based on Django 1.11.1", but I changed it because Django has done all that we should do. We don't need to think about dealing with the database itself at all. When I ...
Posted by railanc4309 on Wed, 12 Jun 2019 21:55:36 +0200
Introduction to Django Framework, wsgiref and jinja2 Modules
Catalog
Brief introduction to framework
wsgiref module
jinja2 module
Brief introduction to framework
Django is a web development framework for developing web applications. The essence of Django is web framework + socket server.
MVC Framework and MTV Framework
MVC, whose full name is Model View Con ...
Posted by Bailz on Tue, 11 Jun 2019 20:59:13 +0200
Project Deployment Cloud Server Process~
From Congo: https://www.cnblogs.com/ZKPython/p/10992326.html
First, to install nginx and MySQL on the server, the website file is recommended at / usr/local/www, environment Python 3.6+mysql 5.7. Ali cloud's server can have a configured public image, otherwise install the environment on its own.
Name of this project: loginOrRegister
For X ...
Posted by stlewis on Sat, 08 Jun 2019 19:04:24 +0200
Serialization of django-rest-framework
Foreword: Yesterday I learned about rest-framework serialization, so I wrote a blog record. Official website: http://www.django-rest-framework.org/tutorial/1-serialization/#working-with-serializers.
Front-end and back-end separation: Front-end development and back-end development are separated. The implementation of this scheme is to use AP ...
Posted by wing328 on Sat, 18 May 2019 22:17:46 +0200
Operations and Maintenance Management Platform Development Ideas
1 Application Technology
back-end
Python3.7
Django2.x
Celery4.x
Saltstack
Restful
Mysql
Redis
Front end
jquery
bootstrap
bootstrap-table
bootstrap-fileinput
2 Implementation process
2.1 CMDB Asset Management
2.1.1 Asset Input
Fill in the form on the front page.
Submit data to Django background.
Write to Mysql database through Django Orm o ...
Posted by herbal_lavender on Sat, 18 May 2019 08:39:29 +0200
Django Learning (4) Forms to Make Databases Stronger
_Form, tagged <form></form> in HTML, is mainly responsible for data collection in Web pages.When we browse websites, we often encounter registered accounts, account logins, etc., which is a typical application of forms.
_In Django Learning (2) Data Treasure In, we learned Django's connection to the MySQL database; in Django Learni ...
Posted by theex on Thu, 16 May 2019 18:12:26 +0200
Django Basic Concepts
Django
Following the framework of the MVC design pattern, MVC is short for the three words Model, View, Controller.Represents models, views, and controllers.
Create Project
From the command line, first step into a virtual environment where Django is installed
Through pycharm
#Create Project
1. Command line: django-admin startproject [proje ...
Posted by vboctor on Fri, 10 May 2019 20:16:30 +0200
Integration of Django+Django-Celery+Celery
This article is mainly due to the plan to use django to write a planned task, which can rotate the name of the staff on duty or execute scripts on time and other functions. After Baidu has countless pits, it can finally make use of this set of things to deploy. My English is not good, English is good or people who want to learn ...
Posted by tinkertron on Fri, 10 May 2019 11:12:03 +0200