#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
#models.py # ————————01PerfectCRM基本配置ADMIN———————— from django.db import models # Create your models here. """ #运行 Terminal # 生成 数据表 # python manage.py makemigrations # 数据表 迁移 # python manage.py migrate """ """…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ # ————————75PerfectCRM实现CRM扩展权限———————— url( r'^sales_customer/$', sales_views.sales_customer, name='sales_cu…
#models.py # ————————01PerfectCRM基本配置ADMIN———————— from django.db import models # Create your models here. """ #运行 Terminal # 生成 数据表 # python manage.py makemigrations # 数据表 迁移 # python manage.py migrate """ """…
{#portal.html#} {## ————————46PerfectCRM实现登陆后页面才能访问————————#} {#{% extends 'king_admin/table_index.html' %}#} {#{% block right-container-content %}#} {#<div class="container col-lg-offset-3">#} {# <h2><a class="form-signin-he…
# pagination.py # ————————68PerfectCRM实现CRM业务流程(bpm)报名缴费分页———————— from django.utils.safestring import mark_safe #明确对(HTML)输出一个字符串标记为安全目的.返回的对象可使用一个字符串都是合适的. class Page: # 当前所在页面 记录条数统计 页面显示记录数 显示的页面数量 def __init__(self, current_page, data_count, per…
# teacher_urls.py # ————————62PerfectCRM实现CRM讲师讲课记录———————— from django.conf.urls import url from bpm.teacher import teacher_views urlpatterns = [ url(r'^teacher_class/$', teacher_views.teacher_class,name='teacher_class'),#讲师班级 url(r'^teacher_class_d…
# student_urls.py # ————————60PerfectCRM实现CRM学生上课记录———————— from django.conf.urls import url from bpm.student import student_views urlpatterns = [ url(r'^student_course/$', student_views.student_course, name='student_course'), #学生报名的课程 url(r'^studyre…
#base_admin.py # ————————24PerfectCRM实现King_admin自定义操作数据———————— from django.shortcuts import render,redirect # ————————24PerfectCRM实现King_admin自定义操作数据———————— # ————————04PerfectCRM实现King_admin注册功能———————— #Django admin 注册功能的形式 # sites = { # 'crm':{…
#admin.py # ————————01PerfectCRM基本配置ADMIN———————— from django.contrib import admin # Register your models here. from crm import models #从crm导入models # ————————24PerfectCRM实现King_admin自定义操作数据———————— from django.shortcuts import render # ————————24Per…
# kingadmin.py # ————————04PerfectCRM实现King_admin注册功能———————— from crm import models #print("kingadmin crm",models.Customer) # ————————05PerfectCRM实现King_admin注册功能获取内存———————— # from king_admin.base_admin import register,BaseAdmin from king_admi…
# kingadmin.py # ————————04PerfectCRM实现King_admin注册功能———————— from crm import models #print("kingadmin crm",models.Customer) # ————————05PerfectCRM实现King_admin注册功能获取内存———————— # from king_admin.base_admin import register,BaseAdmin from king_admi…
#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
# sales_views.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.db import IntegrityError # 主动捕捉错误信息 from django.shortcuts import render # 页面返回 from crm import models # 数据库 from bpm.bpm_auxiliary import bpm_forms # 自定制 forms from django.contrib…
# sales_urls.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.conf.urls import url from bpm.sales import sales_views urlpatterns = [ url(r'^customer/(\d+)/enrollment/$', sales_views.enrollment, name="enrollment"),#客户招生#报名流程一 下一步 # ——————…
# sales_views.py # ————————47PerfectCRM实现CRM客户报名流程———————— from django.db import IntegrityError #主动捕捉错误信息 from django.shortcuts import render #页面返回 from crm import models #数据库 from bpm.bpm_auxiliary import bpm_forms #自定制 forms from django.contrib.aut…
图片另存为  16*16  名字修改为      bpm_logo.jpg /*! *bootstrap.js * * Bootstrap v3.3.7 (http://getbootstrap.com) * Copyright 2011-2016 Twitter, Inc. * Licensed under the MIT license */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScri…
#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
#urls.py """PerfectCRM URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import vie…
# kingadmin.py # ————————04PerfectCRM实现King_admin注册功能———————— from crm import models #print("kingadmin crm",models.Customer) # ————————05PerfectCRM实现King_admin注册功能获取内存———————— # from king_admin.base_admin import register,BaseAdmin from king_admi…
# kingadmin.py # ————————04PerfectCRM实现King_admin注册功能———————— from crm import models #print("kingadmin crm",models.Customer) # ————————05PerfectCRM实现King_admin注册功能获取内存———————— # from king_admin.base_admin import register,BaseAdmin from king_admi…
01-crm介绍 02-权限系统介绍 03-第一版表结构设计 04-第二版表结构设计 05-orm中创建表结构 06-销售管理系统业务 07-销售管理系统权限信息录入 08-快速实现简单的权限控制的设计思路 09-快速实现简单权限之初始化用户权限 10-快速实现权限控制之权限校验 01-crm介绍 1.CRM系统初识: 2.CRM三大模块初识(权限.stark组.CRM): 02-权限系统介绍 1.权限开发的重要性: 2.什么是权限?URL==权限: 3.人和URL的关系: 4.表结构的版本迭代…
21-CRM第一节内容概要 21.1 Stark组件介绍:实现基本的增删改查+自定义复杂操作: 21.2 单例模式:最简单的单例模式: 21.3 路由系统(分发): 21.4 制作启动文件-Django启动之后,路由加载之前: 21.5 Django启动后.路由加载前定制一段代码: 21.6 参考Djangoadmin编写自己的组件: 22-内容回顾之面向对象 22.1 面向对象中,类可以当做字典的key值出现: 23-内容回顾之Django 23.1 获取Django中model所在app的名…
#admin.py # ————————01PerfectCRM基本配置ADMIN———————— from django.contrib import admin # Register your models here. from crm import models #从crm导入models # ————————24PerfectCRM实现King_admin自定义操作数据———————— from django.shortcuts import render # ————————24Per…
登陆密码设置参考 http://www.cnblogs.com/ujq3/p/8553784.html # king_urls.py # ————————02PerfectCRM创建ADMIN页面———————— from django.conf.urls import url from king_admin import views urlpatterns = [ url(r'^$', views.app_index),#主页 # ————————21PerfectCRM实现King_admi…
三.CRM项目表结构设计 from django.db import models # Create your models here. """ #运行 Terminal # 生成 数据表 # python manage.py makemigrations # 数据表 迁移 # python manage.py migrate """ """01校区表""" class Branch(m…
#admin.py # ————————01PerfectCRM基本配置ADMIN———————— from django.contrib import admin # Register your models here. from crm import models #从crm导入models # ————————24PerfectCRM实现King_admin自定义操作数据———————— from django.shortcuts import render # ————————24Per…