when i registered some users and then run the code...it shows the
following error...please suggest the solution
self.related.get_accessor_name()
django.contrib.auth.models.User.userprofile.RelatedObjectDoesNotExist: User
has no userprofile.
On Wed, Feb 17, 2021 at 12:48 AM Shaharyar Shamshi <
Can we access rest framework without activating virtual environment?
On Fri, 6 Nov 2020, 04:13 Xavier Ordoquy, wrote:
> Django REST framework 3.12.2 is now available on PyPI.
> https://pypi.org/project/djangorestframework/
>
> See the release notes for more details:
>
ely,
> Abdulrahman
>
> On Tue, Nov 3, 2020, 2:40 PM ifthikkarudheen t wrote:
>
>> i ' m unable to add rest framework i get this error
>>
>> module = import_module(entry)
>> File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
>> import_mo
i ' m unable to add rest framework i get this error
module = import_module(entry)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in