I'll try this. I'm on another project so I'll let you know in a few hours if it worked or not. Thanks Mahendra!
yup , let me knoe if it work. if not let me know how you solved it ..-
I added
if request.method == 'GET': return render(request, template)
Thanks!
ok , but does csv file uploaded? In your form you sending POST request , then why if request.method == 'GET' returning true????
Yes, it went inside the admin through the models.py
the next problem is to iterate the tables from the csv file
Hey! I'm having the same exact problem, Can you share how you solved it? Also how you iterate the tables from the csv file
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'll try this. I'm on another project so I'll let you know in a few hours if it worked or not. Thanks Mahendra!
yup , let me knoe if it work. if not let me know how you solved it ..-
I added
and it was able to load the page
Thanks!
ok , but does csv file uploaded? In your form you sending POST request , then why if request.method == 'GET' returning true????
Yes, it went inside the admin through the models.py
the next problem is to iterate the tables from the csv file
Hey! I'm having the same exact problem,
Can you share how you solved it?
Also how you iterate the tables from the csv file