Monday, October 31, 2022

Facing attribue Error

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

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9aa3b8e8-9cd7-4531-af07-bc65942146can%40googlegroups.com.

No comments:

Post a Comment