We'd need to see your settings file and maybe your top-level urls.py to answer it conclusively, but in general terms, some view that's been mapped to root on your project is returning that there JSON response. This is not a default Django behavior, or at least wasn't in 1.10 or earlier.
On Sat, Nov 19, 2016 at 7:58 PM, NS <heliotrope.dragon@gmail.com> wrote:
When I run python manage.py runserver, I get this shown on localhost:8000--{"status": "fail", "method": "", "error":""}What happened?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/24a87f66- .8799-489b-acc4-db779eb811df% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYUtZh0JuRBruFn1eRT0_cnggecOi8%2BmcDWHGckLDCP48g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment