On Mon, Nov 27, 2017 at 3:21 AM, Joshua O. Morales <
joshuao.morale...@gmail.com> wrote:
> I tried it out, but I'm still getting 400 error.
>
400 means "Bad Request", if was something wrong inside the view, the server
should return a 500 (Internal Server Error). I think probably it isn't
executin
I tried it out, but I'm still getting 400 error. I attached a copy of the
tests.py of the app. Maybe you'll find something I can't.
views.py:
from django.shortcuts import render
from django.core.management import call_command
def start_scraping(request):
call_command('test','seleniumapp')
On Sun, Nov 26, 2017 at 11:03 AM, Joshua O. Morales <
joshuao.morale...@gmail.com> wrote:
> What I would like to do is to execute the tests.py by clicking a certain
> button. I am trying to run the tests.py via views.py, but it gives me a
> 400 Bad Request error. Is there any other solution?
> Y
3 matches
Mail list logo