修复了一些可能影响生产的问题
This commit is contained in:
@@ -1,3 +1 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ShangpinConfig(AppConfig):
|
||||
name = "shangpin"
|
||||
class ProductsConfig(AppConfig):
|
||||
name = "products"
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
|
||||
@@ -64,8 +64,6 @@ urlpatterns = [
|
||||
path('adhyjllxcx',HuiyuanTypeListView.as_view(), name='管理员查询会员记录获取会员类型'),
|
||||
path('adhyjlcxhq',HuiyuanRecordListView.as_view(), name='管理员查询会员记录'),
|
||||
|
||||
|
||||
|
||||
path('zuzhangfenhong', ZuzhangFenhongView.as_view(), name='组长分红记录获取'),
|
||||
path('czhqdy', CzhqdyView.as_view(), name='充值打手抵押查询'),
|
||||
path('dsqrgmdh', DsqrgmdhView.as_view(), name='充值抵扣'),
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# tongji/utils.py 或 shangpin/utils.py
|
||||
|
||||
import logging
|
||||
from datetime import date
|
||||
from decimal import Decimal
|
||||
|
||||
@@ -15,9 +15,8 @@ import defusedxml.ElementTree as ET
|
||||
|
||||
# ==================== Django 内置 ====================
|
||||
from django.conf import settings
|
||||
from django.db import models, transaction, connection
|
||||
from django.db.models import Q, Count, Subquery, OuterRef
|
||||
from django.core.paginator import Paginator
|
||||
from django.db import transaction, connection
|
||||
from django.db.models import Q
|
||||
from django.shortcuts import render, get_object_or_404
|
||||
from django.http import HttpResponse
|
||||
from django.utils import timezone
|
||||
|
||||
Reference in New Issue
Block a user