Friday, September 29, 2017

Re: Html Page rendered when i hit this below url instead of json objects

On Sep 28, 2017 7:31 AM, "Rakhee Menon" <menonrakhee15@gmail.com> wrote:
>
> Hi Everyone,
>
> When i hit the url  localhost:8000/forms it gives a html page and on the other hand when i do it through the django admin ie
>
> localhost:8000/admin/forms it gives me the result...What can be the reason??Can anyone help??

Check your URLs. Py files.

You will probably find they are directing traffic to two different places.

>
> Thank You.
>
> Regards,
> Rakhee Menon
>
> --
> 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/a74fd16b-8e82-4f08-9791-dd967367c8bd%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/CAP1rxO4qMtZ%2BaOw4X2RREC3-crk0UEyqWJ_kZVMhA8LF-Tz1Jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment