#views # ————————02PerfectCRM创建ADMIN页面———————— from django.shortcuts import render # ————————04PerfectCRM实现King_admin注册功能———————— # from django import conf #配置文件 # print("dj conf:",conf) #配置文件 # print("dj conf:",conf.settings)#配置文件.设置…
#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 """ """…
#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"),#客户招生#报名流程一 下一步 # ——————…
# 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…
#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…
#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…