AttributeError at /employee/type object 'employeeapp' has no attribute 'object'
Request Method:
GET
Request URL:
http://localhost:8000/employee/Django Version:
4.1.1
Exception Type:
AttributeError
Exception Value:
type object 'employeeapp' has no attribute 'object'
Exception Location:
C:\practice\project2\empapp\views.py, line 9, in empDetails
Raised during:
empapp.views.empDetails
Python Executable:
C:\Users\maheb\AppData\Local\Programs\Python\Python310\python.exe
Python Version:
3.10.7
Python Path:
['C:\\practice\\project2',
'C:\\Users\\maheb\\AppData\\Local\\Programs\\Python\\Python310\\python310.zip',
'C:\\Users\\maheb\\AppData\\Local\\Programs\\Python\\Python310\\DLLs',
'C:\\Users\\maheb\\AppData\\Local\\Programs\\Python\\Python310\\lib',
'C:\\Users\\maheb\\AppData\\Local\\Programs\\Python\\Python310',
'C:\\Users\\maheb\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages']
Server time:
Tue, 01 Nov 2022 05:25:39 +0000