随笔分类 -  python

摘要:前端: <script> $(document).ready(function() { $('.edit-item').click(function () { var tr = $(this).parents('tr'); var command_id = tr.children('td').eq( 阅读全文
posted @ 2020-09-11 17:45 忧伤还是快乐EL 阅读(250) 评论(0) 推荐(0)
摘要:RuntimeError: Model class apps.settings.licensefile.LicenseFile doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. 这 阅读全文
posted @ 2020-08-20 16:10 忧伤还是快乐EL 阅读(140) 评论(0) 推荐(0)
摘要:前端页面: 1 {% extends 'base.html' %} 2 {% load static %} 3 {% load bootstrap3 %} 4 {% load i18n %} 5 {% load common_tags %} 6 7 {% block content %} 8 <di 阅读全文
posted @ 2020-08-05 20:24 忧伤还是快乐EL 阅读(300) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-08-05 19:46 忧伤还是快乐EL 阅读(491) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2020-08-04 19:55 忧伤还是快乐EL 阅读(759) 评论(0) 推荐(0)
摘要:我的解决方法: 在form表单中加上{% csrf_token %} 阅读全文
posted @ 2020-07-30 11:37 忧伤还是快乐EL 阅读(254) 评论(0) 推荐(0)