Django Admin's “view on site” points to example.com instead of my domain

后端 未结 6 916
一生所求
一生所求 2020-12-15 04:37

I added a get_absolute_url function to one of my models.

def get_absolute_url(self):
    return \'/foo/bar\' 

The admin site p

6条回答
提交回复
热议问题