JumpServer open source fortress machine deployment (source code)

preface JumpServer is the first open source fortress machine in the world. It uses GNU GPL v2.0 open source protocol. It is an operation and maintenance security audit system conforming to 4A specification. JumpServer is developed in Python, follows the Web 2.0 specification, and is equipped with the industry-leading Web Terminal scheme, ...

Posted by austrainer on Sat, 02 Oct 2021 13:52:04 -0700

Django study notes

URL and view functions URL(Uniform Resource Locator) form: protocol://hostname[:port]/path[?query][#fragment] Writing specification: - absolute address: http://127.0.0.1:8000/test_html_param/Paul - relative address: 1. '/ page/1' – the result is: http://127.0.0.1:8000/ +/ page/1, add after port 2. 'page/1' - the result is: http://127.0 ...

Posted by o3d on Fri, 10 Sep 2021 19:50:47 -0700

Django deployed online Ubuntu + nginx + uwsgi + django3.1 + Python 3.8

Django project deployment Online preface Because many pits were taken during the deployment of Django project, write down the pits encountered in the deployment process for reference only. Environment and third party Library The deployment environment and third-party libraries used in this article are as follows: (different environments and ...

Posted by garek007 on Fri, 03 Sep 2021 17:48:05 -0700

Tools used in the sass project of the django framework

Preface sass project video address: https://www.bilibili.com/video/BV1uA411b77M Link virtual environments: https://blog.csdn.net/weixin_45859193/article/details/115408555 Using Django version 3.2.6, the project name created with untitled7 as the root directory is web. view.py in the web project writes all views. templates file stores ...

Posted by middleman666 on Wed, 01 Sep 2021 09:46:39 -0700

Additions and deletions based on Form component and based on ModelForm

Introduction to ModelForm ModelForm a. class Meta: model, # Corresponding Model Of fields=None, # field exclude=None, # Exclusion field labels=None, # Prompt message help_texts=None, ...

Posted by 1337hovie on Wed, 08 Jul 2020 08:39:55 -0700

Additions and deletions based on Form component and based on ModelForm

Introduction to ModelForm ModelForm a. class Meta: model, # Corresponding Model Of fields=None, # field exclude=None, # Exclusion field labels=None, # Prompt message help_texts=None, ...

Posted by Wolphie on Wed, 08 Jul 2020 08:40:24 -0700

django implements foreground and background data binding by submitting form with ajax+post

The first step is to introduce jquery files, either online or offline, to add to your own staticfiles What's demonstrated here is adding offline <script src={% static 'js/jquery-2.1.1.min.js' %}></script> Note that this sentence is added before the ajax jquery script you write. Then the HTML form is as follows: ...

Posted by ezekiel on Tue, 07 Jul 2020 07:35:38 -0700

Designated email reading function of Python 3 + scratch + selenium Tencent enterprise mailbox

1. Recently, the manager was annoyed by the email, maybe too much, and wanted to read in batches and process the required data and send it to his interface, but Tencent's js was too many, too difficult, too much to read, too much to understand, manual dog head. So I'm going to use selenium to simulate t ...

Posted by wee_eric on Sun, 21 Jun 2020 22:42:48 -0700

Django CBV: form processing

CBV Reference link: https://docs.djangoproject.com/en/3.0/topics/class-based-views/generic-editing/ (official document of Django) CBV is Class Based View, which is to build a view through class. Different from FBV(Function Based View), by using class inheritance and mixins, CBV has higher code ...

Posted by miha on Mon, 15 Jun 2020 00:51:15 -0700

Using Django+ Vue.js Develop personal blog website (full version with source code) - Python course design final project

Page display: Source codehome pageDifferent platesRegistration pageLogin pagepersonal informationWrite article pageArticle details pageArticle review This article focuses on the Python back-end part. Since only using vue as the js framework is not a front-end separation project, the front-end is not i ...

Posted by plzhelpme on Sun, 14 Jun 2020 01:53:43 -0700