Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Última versão do projeto com erro!

A página do projeto da última aula, não abre e aparece o erro abaixo:

NoReverseMatch at / Reverse for 'receita' with arguments '('',)' not found. 1 pattern(s) tried: ['(?P[0-9]+)$'] Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 3.1 Exception Type: NoReverseMatch Exception Value:Reverse for 'receita' with arguments '('',)' not found. 1 pattern(s) tried: ['(?P[0-9]+)$'] Exception Location: G:\Meu Drive\pyCharm\untitled\venv\lib\site-packages\django\urls\resolvers.py, line 685, in reversewith_prefix Python Executable: G:\Meu Drive\pyCharm\untitled\venv\Scripts\python.exe Python Version: 3.8.5 Python Path:['G:\Meu Drive\pyCharm\untitled', 'C:\Users\asus\AppData\Local\Programs\Python\Python38-32\python38.zip', 'C:\Users\asus\AppData\Local\Programs\Python\Python38-32\DLLs', 'C:\Users\asus\AppData\Local\Programs\Python\Python38-32\lib', 'C:\Users\asus\AppData\Local\Programs\Python\Python38-32', 'G:\Meu Drive\pyCharm\untitled\venv', 'G:\Meu Drive\pyCharm\untitled\venv\lib\site-packages'] Server time: Tue, 25 Aug 2020 17:37:59 -0300

1 resposta
solução!

Solucionado, apaguei a {{ url 'receita' }} no index.