the following error is displayed when i try to write a function named as display_laptop to display the available laptops in the backend. NoReverseMatch at /
Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view function or pattern name. Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 2.2.3 Exception Type: NoReverseMatch Exception Value: Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view function or pattern name. Exception Location: C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\urls\resolvers.py in _reverse_with_prefix, line 668 Python Executable: C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\python.exe Python Version: 3.7.4 Python Path: ['C:\\Users\\Goitom\\Desktop\\shop', 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip', 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs', 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib', 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32', 'C:\\Users\\Goitom\\AppData\\Roaming\\Python\\Python37\\site-packages', 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages'] Server time: Mon, 12 Aug 2019 11:12:59 +0000 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d81e5cbf-ebf1-46f7-9a8f-8406440a0f4b%40googlegroups.com.