commit
a5ea723a17
4 changed files with 12 additions and 44 deletions
@ -0,0 +1,5 @@ |
||||
DEBUG=False |
||||
SECRET_KEY='!eiquy7_+2#vn3z%zfp51$m-=tmvtcv*cj*@x$!v(_9btq0w=$' |
||||
DATABASE_URL='psql://team:nu5Xefise@127.0.0.1:5432/new_lms' |
||||
EMAIL_URL='smtp+tls://robo@skillbox.ru:nu5Xefise@smtp.gmail.com:587' |
||||
CACHE_URL=rediscache://127.0.0.1:6379/1?client_class=django_redis.client.DefaultClient |
||||
@ -1,42 +0,0 @@ |
||||
# # coding=utf-8 |
||||
# import datetime |
||||
# from hashlib import md5 |
||||
# from django.shortcuts import render |
||||
# from django.views.decorators.csrf import csrf_exempt |
||||
# |
||||
# from lms.settings import YANDEX_MONEY_SHOP_PASSWORD |
||||
# |
||||
# |
||||
# # coding=utf-8 |
||||
# import datetime |
||||
# from hashlib import md5 |
||||
# from django.shortcuts import render |
||||
# from django.views.decorators.csrf import csrf_exempt |
||||
# |
||||
# from finance.models import Bill, YandexKassaHistory |
||||
# from lms.settings import YANDEX_MONEY_SHOP_PASSWORD |
||||
# |
||||
# |
||||
# def gen_md5(cd): |
||||
# return md5(';'.join(( |
||||
# cd['action'], |
||||
# cd['orderSumAmount'], |
||||
# cd['orderSumCurrencyPaycash'], |
||||
# cd['orderSumBankPaycash'], |
||||
# cd['shopId'], |
||||
# cd['invoiceId'], |
||||
# cd['customerNumber'], |
||||
# YANDEX_MONEY_SHOP_PASSWORD, |
||||
# )).encode('utf-8')).hexdigest().upper() |
||||
# |
||||
# |
||||
# @csrf_exempt |
||||
# def aviso(request): |
||||
# # Страница получения результата о платежах |
||||
# data = request.POST |
||||
# |
||||
# |
||||
# |
||||
# @csrf_exempt |
||||
# def check(request): |
||||
# data = request.POST |
||||
Loading…
Reference in new issue