Django Reverse for 'artic_post' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Reverse for ‘home‘ with arguments ‘()‘ and keyword arguments ‘{}‘ not found. 0 pattern(s) tried: []
此問題出現的原因是我的文件中出現了{{% url ‘home‘ %}}這樣的語句,url配置錯誤了,因為我並沒有在相應的url配置語句裏面指定name值。
解決方法只需要在相應的url配置後面加上name=‘home‘就可以了
註:這種錯誤一般都是模板裏面{% url ‘‘ %} 與urls.py中的name=‘‘不匹配,一般都是寫錯了或者匹配錯誤。
比如這個artic_post實際name=‘article_post‘,就是寫錯了。
Django Reverse for 'artic_post' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
相關推薦
Django Reverse for 39;artic_post39; with arguments 39;()39; and keyword arguments 39;{}39; not found. 0 pattern(s) tried: []
為我 解決方法 匹配 原因 文件中 att pat reverse pos Reverse for ‘home‘ with arguments ‘()‘ and keyword arguments ‘{}‘ not found. 0 pattern(s) tried: []
記一次Django報錯Reverse for 39;indextwo39; with no arguments not found. 1 pattern(s) tried: [39;$index/$39;]
啟動python manage.py runserver 開啟127.0.0.1:8000,報錯資訊如下: Reverse for 'indextwo' with no arguments not found. 1 pattern(s) tried: ['$index/$'] 現象: 無論怎
Roomblock: a Platform for Learning ROS Navigation With Roomba, Raspberry Pi and RPLIDAR(轉)
include lan ini sea more ike res base package What is this? "Roomblock" is a robot platform consists of a Roo
Android Error:Execution failed for task 39;:app:preDebugAndroidTestBuild39;. > Conflict with dependency
錯誤內容: Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotations' in
Codeforces Round #422 (Div. 2) A. I39;m bored with life 暴力
out line leave c++ ren round ... from cif A. I‘m bored with life Holidays have finished. Thanks to the help of t
Round #422 A. I39;m bored with life
exactly learn ica largest color esp res error divide Holidays have finished. Thanks to the help of the hacker Leha, Noora managed to ent
Plugin with id 39;com.novoda.bintray-release39; not found.的解決方案
添加 pan mage nbsp file eas 分享 pat img import Module的時候,有時候會提示Plugin with id ‘com.novoda.bintray-release‘ not found. 點擊Open File,定位到該Mod
Could not resolve view with name 39;***39; in servlet with name 39;dispatcher39;
urn 異常 避免 href 出現 view hist 異步 rop 今天在開發中遇到了一個問題,控制層使用的是SpringMVC框架。 @RequestMapping("historyDetail") private String History(Mod
Plugin with id 39;com.novoda.bintray-release39; not found的解決方法
comment and pre 目錄 解決方法 roi -s path ase 我們一般在在github上下載下來的代碼,有時候會提示Plugin with id ‘com.novoda.bintray-release’ not found的錯誤,這
Django:創建用戶模型報錯: (admin.E108) The value of 39;list_display[4]39;解決方案
png str 行數 div bool 解析 創建 delet sts 參考資料:蟲師-《web接口開發與自動化測試:基於python語言》 日常學習Django框架中,創建了用戶模型,但是頁面功能驗證時候,提示不能進行列表字段操作,debug好久,才找到問題原因,心累。。
mysql_config not found和error: command 39;gcc39; failed with exit status 1
1.2 onf already enter log 谷歌 def org read 要想使python可以操作mysql 就需要MySQL-python驅動,它是python 操作mysql必不可少的模塊。 下載地址:https://pypi.python.org/pypi
idea出現:error:java: Target level 39;1.739; is incompatible with source level 39;1.839;.解決辦法
tin get 技術 strong mark 更改 ID HR ati 當我們開始使用idea的時候,編譯jsp程序我們有可能出現編譯錯誤,然而我們的代碼又沒有什麽問題。 解決方法一:我們開始的時候可以通過修改java compiler來解決這樣的問題,點擊file菜
React native Configuration with name 39;default39; not found.
reac sharp key nat gap all config IT resolve 添加插件後出現異常 FAILURE: Build failed with an exception. * What went wrong: A problem occurred c
spring ----> ResourceBundle [message] not found for MessageSource: Can39;t find bundle for base name message, local_zh
blank 文件配置 dea name flow jdk get 資源 spring4 環境: idea 2018.1.3社區版,jdk8,spring4.2.0,maven3.5.2 主題: spring國際化 出現的問題: ResourceBundle [message
A - I39;m bored with life
from lis oos greate pre ask In student greatest Holidays have finished. Thanks to the help of the hacker Leha, Noora managed to enter the
AndroidStudio編譯error:app:validateReleaseSigning39;Keystore file not found for signing config 39;release
types 一段 pro sig build erro app ask val 使用AndroidStudio編譯時提示error: Error:Execution failed for task ‘:app:validateReleaseSigning’. > K
Plugin with id 39;com.android.application39; not found. Open File
Plugin with id ‘com.android.application’ not found. Open File 解決方法: 將下面的配置拷貝到build.gradle裡面 buildscript { repositories { jcenter()
Cordova - CordovaError: Promise rejected with non-error: 39;ios-deploy was not found
錯誤資訊: CordovaError: Promise rejected with non-error: 'ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https:
解決IDEA安裝外掛Plugin 39;Scala39; is incompatible with this installation
今天從硬碟安裝idea -Scala外掛時,報如下錯誤: Plugin 'Scala' is incompatible with this installation 這個問題主要是因為idea版本與外掛版本不一致導致。 1.檢視idea版本 關閉所有工程,進入初始介面 看到我們
匯入第三方庫報“Plugin with id 39;com.github.dcendents.android-maven39; not found”錯誤
如果在匯入第三方庫出現上述錯誤是,需要在專案的build.gradle(project)檔案中新增如下程式碼: classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' classpath 'com.github.dcende