I just think that, if you use django-rest-framework, according to the example in django-rest-framework.org/#quickstart, you should define into the class: class MyTypeViewSet(viewsets.ModelViewSet)
Maybe you will have to parse the data, or something like that about the formatting of the data, I don't remember right now, I haven't used django-rest for a while
hi, I'm a full stack web developer. I love UI design and have weakness for beautifully designed
functional web apps. when I am not coding, I am GAMING or READING. #potterHead
hi thanks for your reply. actually I searched few things, and so far it looks like I might not need to use DRF at all. it should be doable with Django itself.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I just think that, if you use django-rest-framework, according to the example in django-rest-framework.org/#quickstart, you should define into the class:
class MyTypeViewSet(viewsets.ModelViewSet)
Instead of: queryset = MyType.objects.all()
Something like: queryset = requests.get('yourApi1.com/mytype').text
Maybe you will have to parse the data, or something like that about the formatting of the data, I don't remember right now, I haven't used django-rest for a while
hi thanks for your reply. actually I searched few things, and so far it looks like I might not need to use DRF at all. it should be doable with Django itself.