Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when updating Lead category #15

Closed
ZackElias opened this issue Apr 27, 2021 · 2 comments
Closed

Error when updating Lead category #15

ZackElias opened this issue Apr 27, 2021 · 2 comments

Comments

@ZackElias
Copy link

ZackElias commented Apr 27, 2021

I have deployed the script successfully but I noticed an issue when trying to update lead category.

Any ideas ?

Error:

Category matching query does not exist.
Request Method: POST
Request URL: http://127.0.0.1:8000/leads/1/category/
Django Version: 3.1.4
Exception Type: DoesNotExist
Exception Value:
Category matching query does not exist.
Exception Location: C:\Users\MeCD\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\models\query.py, line 429, in get
Python Executable: C:\Users\MeCD\AppData\Local\Programs\Python\Python39\python.exe
Python Version: 3.9.2
Python Path:
['C:\getting-started-with-django-main',
'C:\Users\MeCD\AppData\Local\Programs\Python\Python39\python39.zip',
'C:\Users\MeCD\AppData\Local\Programs\Python\Python39\DLLs',
'C:\Users\MeCD\AppData\Local\Programs\Python\Python39\lib',
'C:\Users\MeCD\AppData\Local\Programs\Python\Python39',
'C:\Users\MeCD\AppData\Local\Programs\Python\Python39\lib\site-packages']
Server time: Tue, 27 Apr 2021 14:00:29 +0000

@ZackElias
Copy link
Author

I added specific value and now it works

@Tanujshriyan
Copy link

What specific value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants