# gbacc_urls.py # ————————38PerfectCRM实现全局账号登录注销———————— from django.conf.urls import url from gbacc import gbacc_views urlpatterns = [ url(r'^gbacc_login/', gbacc_views.gbacc_login, name='gbacc_login'), # 全局登录 # LOGIN_URL = '/gbacc/gbacc_login/'# lo…
#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 """ """…
#base_admin.py # ————————24PerfectCRM实现King_admin自定义操作数据———————— from django.shortcuts import render,redirect # ————————24PerfectCRM实现King_admin自定义操作数据———————— # ————————04PerfectCRM实现King_admin注册功能———————— #Django admin 注册功能的形式 # sites = { # 'crm':{…
# 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…
# 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…