Re: simple Rest_framework cannot import name in api view

2020-04-04 Thread Suraj Thapa FC
List go through the emails On Sat, 4 Apr, 2020, 10:03 pm Suneetha Machineni, < suneetha.machin...@gmail.com> wrote: > Even am also facing same issue what MEganathan posted. > can anyone help me thanks in advance > > On Wednesday, November 13, 2019 at 11:47:18 AM UTC+5:30, MEGA NATHAN wrote: >>

Re: simple Rest_framework cannot import name in api view

2020-04-04 Thread Suneetha Machineni
Even am also facing same issue what MEganathan posted. can anyone help me thanks in advance On Wednesday, November 13, 2019 at 11:47:18 AM UTC+5:30, MEGA NATHAN wrote: > > yeah bro > > > > > > *Regards* > Meganathan G > > > > On Wed, Nov 13, 2019 at 10:15 AM Suraj Thapa FC > wrote: > >> It

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
yeah bro *Regards* Meganathan G On Wed, Nov 13, 2019 at 10:15 AM Suraj Thapa FC wrote: > It should be like.. APIView not like APIview > > On Wed, 13 Nov 2019, 9:33 am MEGA NATHAN, > wrote: > >> patterns = getattr(self.urlconf_module, "urlpatterns", >> self.urlconf_module) >> File

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread Suraj Thapa FC
It should be like.. APIView not like APIview On Wed, 13 Nov 2019, 9:33 am MEGA NATHAN, wrote: > patterns = getattr(self.urlconf_module, "urlpatterns", > self.urlconf_module) > File >

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "C:\Users\Meghanathan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\functional.py", line 80, in __get__ res = instance.__dict__[self.name] = self.func(instance) File