Actually, if you have two Bus_detail objects in your database, then it
looks like it's pulling them. What does your Bus_detailSerializer look
like? It seems to me that there are no fields in the serializer's
definition.

On Wed, Jun 8, 2016 at 6:42 AM Harshit Sharma <[email protected]>
wrote:

> Hi Everyone,
>
> I am creating a django-rest-api , when i am running api for testing in
> browser , not geting any
>
> getting output in this form-
>
> HTTP 200 OKAllow: GET, HEAD, OPTIONSContent-Type: application/jsonVary: Accept
> [
>     {},
>     {}]
>
> *i have entered data in database using django admin .*
>
> *please help me i am new to django restframework*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django REST framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to