Use Kind Editor Rich Text Editor in django admin or applications

Because there is no rich text editor in django background management, the pages displayed are ugly, and the WYG editing method cannot be achieved, we need to introduce a third-party rich text editor. Previously, many documents have been found before the blog to make this function. Although some blogs write well, after all, they are not written ...

Posted by BETA on Wed, 22 May 2019 12:56:55 -0700

WeChat jssdk Local Test

abstract Because the project needs to use WeChat voice-related interface function, we need to introduce WeChat's jssdk, but the test of this thing is not so simple as running locally, it needs to be done with the help of WeChat web development tools. This article records the process that I completed the test today. The focus of this article ...

Posted by mikeissa on Wed, 22 May 2019 09:48:19 -0700

redis series (2) - syntax and commands

redis series articles:redis series (1) - installation and startupredis series (2) - syntax and commands 1. Brief description The key value types supported by Redis are String character type, map hash type, list list list type, set collection type, sortedset ordered collection type.This article summarizes the use of these key value types and i ...

Posted by bellaso on Tue, 21 May 2019 11:12:48 -0700

Internship Log (Week 6, 2)

Common plug-in additions to jenkins 1. Subversion Plugin Jenkins can pull the Subversion repository for changes, which can only happen once a minute, so you may have to wait an entire minute to find the changes. To reduce this delay, you can set up a post-commit hook so that the Subversion repository can notify Jenkins when changes are made ...

Posted by mainewoods on Mon, 20 May 2019 15:16:07 -0700

MongoDB Learning (I) Common MongoDB Commands

1. Create a database Create grammar: use DATABASE_NAME If the database does not exist, create the database, otherwise switch to the specified database. Create yyf_mongodb database, db displays the current database > use yyf_mongodb switched to db yyf_mongodb > db yyf_mongodb If you want to view all databases, you can use the s ...

Posted by itandme on Mon, 20 May 2019 11:32:52 -0700

Introduction to Common Modules

Introduction to common modules: ​ time,datetime ​ os,sys ​ hashlib,json,pickle,collections time module: Time module (time related): Encapsulates some methods for getting time in the form of timestamps and strings. Three objects: timestamp, structured time object (9 fields), string [Key] time.time(): Get the timestamp time.gmtime([second ...

Posted by Nuggit on Mon, 20 May 2019 09:55:18 -0700

Principle and implementation of jsonp

What is JSONP First, mention the concept of JSON, a lightweight data transfer format that is widely used in current Web applications.Encoding and parsing data in JSON format is basically implemented in all major languages, so most of the front-end and back-end segregated architectures now transmit data in JSON format. So what is JSONP?( ...

Posted by stiano on Mon, 20 May 2019 09:50:54 -0700

Ajax Principle and Packaging Explanation

Everyone uses Ajax every day. The jquery library encapsulates Ajax perfectly and very well. Let's take a look at its internal principle and manually encapsulate its own Ajax library. For more information on ajax packaging and data processing, see Shanghai Shangxue School< Ajax encapsulated by replace+Jq in Ajax>,<ajax+json data process ...

Posted by irishdreaming on Sun, 19 May 2019 19:09:42 -0700

Django - Cross Domain Request (jsonp)

Homology Policy If both pages have the same protocol, port (if specified) and domain name, then both pages have the same source.   Example: Two Django demo s demo1 url.py url(r'^demo1/',demo1), view.py def demo1(request): return HttpResponse("demo1")   demo2 url.py url(r'demo2$',demo2), view.py def demo2(request ...

Posted by Barkord on Sun, 19 May 2019 17:53:41 -0700

Vue (V) Development of food components

1. Method of parent component calling child component Idea: When a user clicks on a product, the product details page appears, so it needs to call a sub-component when the parent component clicks on the product to control the display hiding of the product details page. food component <template> <div class="food" v-show="foodtoShow"&gt ...

Posted by NewbieBryan on Sun, 19 May 2019 11:50:53 -0700