DRF – Creating new object on POST with reference to existing object
(I am new to Django Rest Framework and Django in general)
agora_token_builder module not found
I want user agora_token_builder in my django project I have install it many times
but on importing it show module not found but in local machine all thing working corectly but at the time hosting the application
error shown
ModuleNotFoundError at /
No module named ‘agora_token_builder’
Request Method: GET
Request URL: https://pratyush6653.pythonanywhere.com/
Django Version: 4.0.6
Exception Type: ModuleNotFoundError
Exception Value:
No module named ‘agora_token_builder’
Exception Location: /home/Pratyush6653/video_call/base/views.py, line 2, in
Python Executable: /usr/local/bin/uwsgi
Python Version: 3.10.5
What is the difference between django rest_framework “serializers.ValidationError” and “exceptions.ValidationError”
I was wondering, if there are any differences between django rest_framework`s: