Hi Ajay, > Le 28 mai 2016 à 15:48, Ajay Rawat <[email protected]> a écrit : > > 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 > i have added > http://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/ > from django REST framework.. > how to resolve this this error..
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. -- 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.
signature.asc
Description: Message signed with OpenPGP using GPGMail
