diff --git a/kitchen_counter/payment/views.py b/kitchen_counter/payment/views.py index ce2c5d9..a67d68a 100755 --- a/kitchen_counter/payment/views.py +++ b/kitchen_counter/payment/views.py @@ -62,15 +62,15 @@ User = get_user_model() geolocator = Nominatim(user_agent="http") from_email = settings.EMAIL_HOST_USER -MongoDBUrl = "mongodb+srv://MNF:root@cluster0.gbkxi.gcp.mongodb.net/DB?retryWrites=true&w=majority" +#MongoDBUrl = "mongodb+srv://MNF:root@cluster0.gbkxi.gcp.mongodb.net/DB?retryWrites=true&w=majority" -client = MongoClient(MongoDBUrl) +#client = MongoClient(MongoDBUrl) # script_id = id -db = client["DB"] -title = db["college_DB"].find() -college_emaillist = [] -for i in title: - college_emaillist.append(i["college_email"]) +#db = client["DB"] +#title = db["college_DB"].find() +#college_emaillist = [] +#for i in title: +# college_emaillist.append(i["college_email"]) # Create your views here. @@ -2294,4 +2294,4 @@ def refund_admin(request, id): def ForSomeWork(request): - return render(request, 'payments/for_some_work.html') \ No newline at end of file + return render(request, 'payments/for_some_work.html')