fix bazdid month in env
This commit is contained in:
1 parent
65bb0f48d4
commit
96dd277f6b
4 files changed
+16
-6
No files matched your search
@@ -13,7 +13,7 @@ from django.db.models import Count, Sum
|
||||
from django.contrib.auth.models import Permission, User
|
||||
from django.contrib.auth import authenticate, login, logout
|
||||
from django.contrib.auth.decorators import login_required, permission_required
|
||||
|
||||
import os
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.db.models import Q
|
||||
|
||||
@@ -519,7 +519,12 @@ def entezar(request):
|
||||
full_path = request.get_full_path()
|
||||
|
||||
from django.db.models import Q
|
||||
dateTime6MonthAgo = a - datetime.timedelta(weeks=36)
|
||||
|
||||
bazdid = os.environ.get('bazdid', 9)
|
||||
|
||||
bazdid = int ( int(bazdid) * 4.3 )
|
||||
|
||||
dateTime6MonthAgo = a - datetime.timedelta(weeks=bazdid)
|
||||
''' customers = Customer.objects.filter(name_family__isnull=False)
|
||||
m6mbazdid = []
|
||||
for customerObj in customers:
|
||||
|
||||
Reference in new issue
Block a user