Closed freezed closed 6 years ago
https://github.com/freezed/ocp8/blob/78c24bdbfc10b76514baa15aea152b6b8557033a/ersatz/templates/ersatz/home.html#L10
The URL name was changed in 3a1bc30
Got an error with an inconsistent line number when URL …/search/ was called :
…/search/
Error during template rendering In template ~/git/ocp8/omega/templates/base.html, error at line 13 Reverse for 'search' not found. 'search' is not a valid view function or pattern name. 3 <html lang="en"> 4 <head> 5 <meta charset="utf-8"> 6 <title>omega{% block title %} - index{% endblock %}</title> 7 </head> 8 <body> 9 <header><h1>omega</h1></header> 10 <aside> 11 <nav> 12 <ul> 13 <li style='display: inline;'>Menu : </li> 14 <li style='display: inline;'><a href="{% url 'home' %}">home</a></li> 15 <li style='display: inline;'><a href="{% url 'account-index' %}">account</a></li> 16 <li style='display: inline;'><a href="{% url 'ersatz-index' %}">ersatz</a></li> 17 <li style='display: inline;'><a href="{% url 'admin:index' %}">admin</a></li> 18 </ul> 19 </nav> 20 </aside> 21 <main> 22 {% block content %}{% endblock %} 23 </main>
https://github.com/freezed/ocp8/blob/78c24bdbfc10b76514baa15aea152b6b8557033a/ersatz/templates/ersatz/home.html#L10
The URL name was changed in 3a1bc30
Got an error with an inconsistent line number when URL
…/search/
was called :