Reference ForeignKey in Django DetailView

后端 未结 0 522
情书的邮戳
情书的邮戳 2020-12-05 06:10

I am struggling to reference my ForeignKey from a basic DetailView in Django.

The models.py I am using:

class Posts(models.model):
    url = models.URL         


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