Import error at /

15 views
Skip to first unread message

Ajay Rawat

unread,
May 28, 2016, 9:48:04 AM5/28/16
to Django REST framework
i have added api_root in my app urls.py file

and i am getting error cannot import name api_root when i am trying to enter url http://localhost:8000/ from my system
how to resolve this this error..

Xavier Ordoquy

unread,
May 28, 2016, 12:58:44 PM5/28/16
to django-res...@googlegroups.com
Hi Ajay,
It’s hard to answer that question without any code sample.
You should provide your urls file if you want some help.

Regards,
Xavier,
Linovia.

signature.asc
Reply all
Reply to author
Forward
0 new messages