随笔分类 - python
摘要:前端: <script> $(document).ready(function() { $('.edit-item').click(function () { var tr = $(this).parents('tr'); var command_id = tr.children('td').eq(
阅读全文
摘要:RuntimeError: Model class apps.settings.licensefile.LicenseFile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. 这
阅读全文
摘要:前端页面: 1 {% extends 'base.html' %} 2 {% load static %} 3 {% load bootstrap3 %} 4 {% load i18n %} 5 {% load common_tags %} 6 7 {% block content %} 8 <di
阅读全文
摘要:You are trying to add a non-nullable field 'address' to person without a default; we can't do that (the database needs something to populate existing
阅读全文
摘要:python3.X 1 def checkLicense(str):#str为解密的字符串 2 str_base64 = base64.b64decode(str) 3 public_key = "1qaz2wsx3edc" 4 5 de_public_key = str2key(public_ke
阅读全文
摘要:我的解决方法: 在form表单中加上{% csrf_token %}
阅读全文

浙公网安备 33010602011771号