摘要: 1 {#app_index.html#} 2 {## ————————02PerfectCRM创建ADMIN页面————————#} 3 {% extends 'king_master/king_index.html' %} 4 {## ————————02PerfectCRM创建ADMIN页面—— 阅读全文
posted @ 2018-03-21 20:22 颜言 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1 #kingadmin_tags.py 2 3 # ————————06PerfectCRM实现King_admin注册功能获取内存优化处理———————— 4 5 # 因为前端禁止使用下划线开头(_meta.verbose_name ),所以通过后端处理后返回前端。 6 from django 阅读全文
posted @ 2018-03-21 20:02 颜言 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 1 #base_admin.py 2 #Django admin 注册功能的形式 3 # sites = { 4 # 'crm':{ 5 # 'customers':CustomerAdmin, 6 # 'customerfollowup':CustomerFollowUPAdmin, 7 # } 阅读全文
posted @ 2018-03-21 16:54 颜言 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 1 #base_admin.py 2 #Django admin 注册功能的形式 3 # sites = { 4 # 'crm':{ 5 # 'customers':CustomerAdmin, 6 # 'customerfollowup':CustomerFollowUPAdmin, 7 # } 阅读全文
posted @ 2018-03-21 15:26 颜言 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 1 #base_admin.py 2 #Django admin 注册功能的形式 3 # sites = { 4 # 'crm':{ 5 # 'customers':CustomerAdmin, 6 # 'customerfollowup':CustomerFollowUPAdmin, 7 # } 阅读全文
posted @ 2018-03-21 11:35 颜言 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 1 #app_config.py 2 from django import conf #配置文件 3 # print("dj conf:",conf) #配置文件 4 # print("dj conf:",conf.settings)#配置文件.设置 5 6 # for app in conf.se 阅读全文
posted @ 2018-03-21 10:43 颜言 阅读(784) 评论(2) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-21 10:42 颜言 阅读(755) 评论(2) 推荐(0) 编辑
摘要: 如果感觉本章博客对您有帮助,请尽情打赏吧! 阅读全文
posted @ 2018-03-21 09:50 颜言 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 1 from django.conf.urls import url 2 from DBadd import auth_views 3 from DBadd import crm_views 4 5 urlpatterns = [ 6 url(r'^auth_user/$', auth_views. 阅读全文
posted @ 2018-03-21 09:27 颜言 阅读(1224) 评论(0) 推荐(0) 编辑
摘要: 1 """ 2 Django settings for PerfectCRM project. 3 4 Generated by 'django-admin startproject' using Django 2.0.3. 5 6 For more information on this file 阅读全文
posted @ 2018-03-21 09:21 颜言 阅读(642) 评论(0) 推荐(0) 编辑