Merge pull request #190 from CDC-IITDH:fixing-inf

remove json dumps
This commit is contained in:
karthik mv 2023-11-11 03:38:56 +05:30 committed by GitHub
commit 9b14023f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ logger = logging.getLogger('db')
]) ])
def addPlacement(request): def addPlacement(request):
logger.info("JNF filled by " + str(request.data['email'])) logger.info("JNF filled by " + str(request.data['email']))
logger.info(json.dumps(request.data)) logger.info(request.data)
try: try:
data = request.data data = request.data
files = request.FILES files = request.FILES
@ -355,7 +355,7 @@ def autoFillInf(request):
CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, RECAPTCHA_VALUE]) CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, RECAPTCHA_VALUE])
def addInternship(request): def addInternship(request):
logger.info("INF filled by " + str(request.data['email'])) logger.info("INF filled by " + str(request.data['email']))
logger.info(json.dumps(request.data)) logger.info(request.data)
try: try:
data = request.data data = request.data
files = request.FILES files = request.FILES