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

20 views
Skip to first unread message

Rakhee Menon

unread,
Sep 28, 2017, 7:30:40 AM9/28/17
to Django users
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??

Thank You.

Regards,
Rakhee Menon

Rakhee Menon

unread,
Sep 29, 2017, 8:40:45 AM9/29/17
to Django users


Does anyone know about it??/

Bob Gailer

unread,
Sep 29, 2017, 4:45:39 PM9/29/17
to Django users

On Sep 28, 2017 7:31 AM, "Rakhee Menon" <menonr...@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...@googlegroups.com.
> To post to this group, send email to django...@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.

Reply all
Reply to author
Forward
0 new messages