Django rest framework: How can I make a viewset that returns custom data from another app's model?

前端 未结 0 1944
夕颜
夕颜 2020-12-17 16:00

I have two django apps. My project directory looks like:

/my-project
  /accounts
    __init__.py 
    admin.py
    api.py
    apps.py
    models.py
    serial         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题