Facing attribue Error

17 vues
Accéder directement au premier message non lu

MaheshKumar

non lue,
1 nov. 2022, 09:41:5801/11/2022
à 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

non lue,
1 nov. 2022, 09:49:2301/11/2022
à 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

non lue,
1 nov. 2022, 09:53:4101/11/2022
à 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

non lue,
1 nov. 2022, 09:58:1701/11/2022
à django...@googlegroups.com
Check imports in views.py file otherwise make migrations after checking employees model

--

MaheshKumar

non lue,
2 nov. 2022, 01:44:0102/11/2022
à Django users
Thanks for the instructions sir

subin

non lue,
3 nov. 2022, 15:59:5603/11/2022
à django...@googlegroups.com
Welcome to XYZ Company SMS Rewards! Keep your eyes peeled for your first exclusive discount

subin

non lue,
3 nov. 2022, 16:00:5903/11/2022
à django...@googlegroups.com
Thank you for your recent purchase from ! Please contact us if you have any questions or visit our website:

subin

non lue,
3 nov. 2022, 16:10:3203/11/2022
à 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

non lue,
3 nov. 2022, 16:12:5903/11/2022
à 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.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message