摘要:
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 7 <script src="commons.js"></script> 8 9 </head> 10 <b 阅读全文
摘要:
1 pycharm快捷键及一些常用设置 2 3 Alt+Enter 自动添加包 4 shift+O 自动建议代码补全 5 Ctrl+t SVN更新 6 Ctrl+k SVN提交 7 Ctrl + / 注释(取消注释)选择的行 8 Ctrl+Shift+F 高级查找 9 Ctrl+Enter 补全 1 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 <body> 8 <input type="text" id="user"> 9 <in 阅读全文
摘要:
1、配置模板的路径 1 TEMPLATES = [ 2 { 3 'BACKEND': 'django.template.backends.django.DjangoTemplates', 4 'DIRS': [os.path.join(BASE_DIR, 'templates')] 5 , 6 'A 阅读全文
摘要:
1 from django.shortcuts import render 2 3 # Create your views here. 4 5 6 7 from django.shortcuts import render 8 9 def login(request): 10 11 return r 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 <style> 7 label{ 8 width:80px; 9 text-align:right; 10 阅读全文
摘要:
1 from django.shortcuts import render 2 3 # Create your views here. 4 5 6 from django.shortcuts import HttpResponse 7 8 def login(request): 9 string = 阅读全文
摘要:
1 from django.shortcuts import render 2 3 # Create your views here. 4 5 6 from django.shortcuts import HttpResponse 7 8 9 def home(request): 10 return 阅读全文
摘要:
阅读全文
摘要:
manage.py startapp cmdb 如果运行错误记得加环境变量 c:\python35\python.exe manage.py startapp cmdb 阅读全文