Skip to content
Advertisement

Tag: django-rest-framework

How to install djangorestframework-gis-distance

I am on Ubuntu and I tried to install djangorestframework-gis-distance I followed the instructions and installed the dependencies which installed fine. But when I install djangorestframework-gis-distance it gives an error of Which basically says I think that there is no file called pip.req. Is there another way I can install djangorestframework-gis-distance? Answer Lets see: https://pypi.org/project/djangorestframework-gis-distance/ . Latest version 1.0.0 released

Django Rest Framework: Access to passed arguments from views in serializers

Before asking this question, I have seen the following links but they don’t help me at all: pass extra arguments to serializer pass request context to serializer from viewset pass context from one serializer to another I have an author model that has foreign key to default django user model: apps/author/models.py Post model has a foreign key to Author. apps/posts/models.py

Advertisement