I have two models Blogs, Photo. In Photo model I have fields 'blogs' as foreign key to Blogs model. models.py: def content_file_name(instance, filename): custt=str(datetime.now
Solution 1:
In js:
headers: { 'Content-Type': undefined}
This solves the problem.
Share
Post a Comment
for "Error While Saving Image Using Django Rest Framework With Angularjs"
Post a Comment for "Error While Saving Image Using Django Rest Framework With Angularjs"