NoReverseMatch at /sales/ Reverse for 'sale_detail' not found. 'sale_detail' is not a valid view function or pattern name. Request Method: GET Request URL: http://hyperkenya.posapp.co.ke/sales/ Django Version: 5.0.2 Exception Type: NoReverseMatch Exception Value: Reverse for 'sale_detail' not found. 'sale_detail' is not a valid view function or pattern name. Exception Location: /var/www/html/kangema/venv/lib/python3.10/site-packages/django/urls/resolvers.py, line 851, in _reverse_with_prefix Raised during: sales.views.dashboard Python Executable: /var/www/html/kangema/venv/bin/python Python Version: 3.10.12 Python Path: ['/var/www/html/kangema', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/var/www/html/kangema/venv/lib/python3.10/site-packages'] Server time: Fri, 18 Jul 2025 14:32:38 +0300 Error during template rendering In template /var/www/html/kangema/sales/templates/sales/sale_dashboard.html, error at line 279 Reverse for 'sale_detail' not found. 'sale_detail' is not a valid view function or pattern name. 269 {% endif %} 270 271