Reverse for 'news_detail' with arguments '('',)' not found. 1 pattern(s) tried: ['news\\-(?P[0-9]+)$']

后端 未结 1 1122
南笙
南笙 2020-12-12 06:32

This issue only happens in production environment ,in my local development environment it works well.

Template error:
In template /home/william/kjmg/template         


        
相关标签:
1条回答
  • 2020-12-12 07:06

    In order to help the people who may face the same issue.I need to answer this question.

    I tried in my local machine it works well.But if I change a new database it occurs the same issue.

    So I figure out that,this issue is caused by empty database!!! Just input something in your database it will work!

    0 讨论(0)
提交回复
热议问题