Facing attribue Error

ยอดดู 17 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

MaheshKumar

ยังไม่อ่าน,
1 พ.ย. 2565 09:41:581/11/65
ถึง Django users
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

Kasper Laudrup

ยังไม่อ่าน,
1 พ.ย. 2565 09:49:231/11/65
ถึง django...@googlegroups.com
On 01/11/2022 06.26, MaheshKumar wrote:
> AttributeError at /employee/type object 'employeeapp' has no attribute
> 'object'

How do you expect anyone to be able to help you without sharing any code
or explaining what you are trying to do?

Kind regards,
Kasper Laudrup

peteru mimo

ยังไม่อ่าน,
1 พ.ย. 2565 09:53:411/11/65
ถึง django...@googlegroups.com
According to this  ....type object 'employeeapp' has no attribute 'object' .. should be objects not object

--
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...@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.

LAKHVIR SINGH

ยังไม่อ่าน,
1 พ.ย. 2565 09:58:171/11/65
ถึง django...@googlegroups.com
Check imports in views.py file otherwise make migrations after checking employees model

--

MaheshKumar

ยังไม่อ่าน,
2 พ.ย. 2565 01:44:012/11/65
ถึง Django users
Thanks for the instructions sir

subin

ยังไม่อ่าน,
3 พ.ย. 2565 15:59:563/11/65
ถึง django...@googlegroups.com
Welcome to XYZ Company SMS Rewards! Keep your eyes peeled for your first exclusive discount

subin

ยังไม่อ่าน,
3 พ.ย. 2565 16:00:593/11/65
ถึง django...@googlegroups.com
Thank you for your recent purchase from ! Please contact us if you have any questions or visit our website:

subin

ยังไม่อ่าน,
3 พ.ย. 2565 16:10:323/11/65
ถึง django...@googlegroups.com
Thank you for reaching out to us

--
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...@googlegroups.com.

subin

ยังไม่อ่าน,
3 พ.ย. 2565 16:12:593/11/65
ถึง django...@googlegroups.com
Thank you for your immediate response.

On Tue, Nov 1, 2022 at 2:41 PM MaheshKumar <mahe...@gmail.com> wrote:
--
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...@googlegroups.com.
ตอบทุกคน
ตอบกลับผู้สร้าง
ส่งต่อ
ข้อความใหม่ 0 รายการ