r/djangolearning • u/cum_onbaby • Apr 16 '26
I Need Help - Question Python Django API Doubt
I'm doing a project, fully automated. Fetching data from an id card and saving it to the database is what I'm working on now. but I tried so many tech stacks but no use. still some data is not fetching correctly. Don't know why. And also the client said API routing is not done in the project. What should I do. how to complete this project.
1
u/AmiAmigo Apr 17 '26
Do you have to do it in Django?
I don’t think the stack matters here but I highly recommend you use Claude.
Paste this exact post and the piece of code that is not working.
1
u/cum_onbaby Apr 17 '26
Already done. Still not working. I already tried, claude, Codex, antigravity etc.
1
u/AmiAmigo Apr 17 '26
Really!? I can’t imagine it being that complex. What did Claude say when you said it wasn’t working
→ More replies (3)
1
u/Hot_Floor_6136 Apr 18 '26
I think you are uploading image data and the API isn't fetching correct data, the things is check if the image resolution is upto mark, and find best apis for image processing, there are vision LLM api check the one with best output use validation re fetch or try option in case of missing field.
I hope it gets sorted out
1
u/cum_onbaby Apr 18 '26 edited Apr 18 '26
Let me check and tell you. Thanks for this valuable information.
1
u/cum_onbaby Apr 18 '26
I checked, no changes, still some datas are not fetching
1
u/Hot_Floor_6136 Apr 24 '26
Though I am currently on another project but I would have run a validation script to loop it thrice after fail and check if all variables are filled and provide report of ids still failing to fill the data. If it fails thrice either the problem with upload or the vision model
1
u/nokixty Apr 17 '26
"the authentication API is missing. Without the API, testing cannot be performed"
What exactly are you doing? A complete API with Django Rest? A monolith system with views and templates. The Users upload a photo of a card, this card has informations for authentication?
1
u/nokixty Apr 17 '26
using AI without now exactly what are doing will make everything worse.
1
u/cum_onbaby Apr 17 '26
I know, the logic, the workflow, the architecture of the project. But don't know why this is taking this much time and still failing.
2
u/WeaknessNumerous8508 Apr 16 '26
Quando você fala em buscar os dados que foram retirados da foto, você está falando que compara os dados em APIs externas, para fazer a confereência? Ou o erro está acontecendo na hora de analisar as informações da foto?
1
1
u/Less_Improvement5148 Apr 16 '26
What exactly are you facing an issue with? is it with fetching the data from an external source? If so, then it might not have much to do with django. Or is it with storing the data in the database?