Rohan
"django conf"
Rohan
I have no idea what this person is talking about. Vague explanation.
Rohan
Use OT for your regular charades. Don't clutter here, thanks.
Nikhil
Anyone have experience with creating Digital asset management system in django
Mirco
Doragonsureiyā
Anyone have experience with creating Digital asset management system in django
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Hi
Anonymous
Im trying to create products under one category through admin panel, but the url is bit confusing. Need help 😀
Aziz
Hi, i have a winError 10053 in django 3(py 3.8). Its happen after i had add user registration for as Corey Schapher's video. They're repo of project:
https://github.com/AzizNadirov/azepug
Aziz
Exception happened during possessing of request from (127.0.0.1 59753)
shekhar
can i map to dictionary in sqlalchemy?
Jasurbek
Hello, I'm new to django. I'm going to render quantity of items in the cart in header of the website. but as default header is in the main.html. o know I have to add quantity to each context of each view. #question: is there any alternative way without adding quantity to each view context
Anonymous
https://stackoverflow.com/questions/62898364/getting-issue-with-automatic-handling-rename-migrations-with-django-models-and-i
Anonymous
Can anyone help me with my stackoverflow question
---
i deployed my website to the server but its running under virtual environment, as soon as i deactivate it its stop working
Shreehari
shekhar
hiw to extract access token from a string if its length is not fixed
---
Finally my site is working.. :)
Dhruva
NOT NULL constraint failed: register_notes.user_id
Dhruva
When trying to have ManytoManyField with user
Mirco
Nikolay
!ot
why you think it's offtopic?
Mirco
Or he moves to off topic group or to @python
Nikolay
Mirco
Not agree
And why do you think is it related to Django ?
He didn't add any context related to the framework
Kannan
Hi
Is anyone knows how to automatically capture django app logs/all transactions
Mirco
So the question is related to Python hence we have a @python group
Anonymous
Nikolay
Mirco
It's a question for Python group
Mirco
Otherwise every new user starts posting question related to Sanic, FastAPI, Flask and so on and we as admins wanna keep the chat on topic strictly to Django
Kannan
It's related to django only
Mirco
We are not taking about your message
Mirco
You are on topic
shekhar
i think if anyone asks abt frame work other than django then it should be an offtopic
Mirco
Dhruva
Anonymous
Can you please help
What kinda help you need? It is clearly saying what the error is about
Jai
Jai
Did you ensure the format of datetime input
Jai
Cause I don't think you should get an error if you don't specify the micro second values
Dhruva
Jai
You're getting the error while taking input right?
Jai
What value did you enter?
Jai
What does the error message say?
Dhruva
Jai
Why do you use the T there?
Jai
Try a string like this: 02-05-2018 11:56:00
Jai
Try without the T?
Jai
Dhruva
Edwin
Hello, how do I enable user registration using the django default user model?
Gil
One question about post_save signals. I need to assign a computed number that is is from a serie. I'm thinking do it with signals post_save, but what will happen if 2 users save this model at the same time, is this a race condition ? Exist any procedure for do this?
Rohan
Rohan
That's almost like saying what if I add row to db at same time and expect it to have same id
Gil
I don't think that happens ever
Oh yes, but is out-of-db computed field.
I need to know what is the last integer assigned ( because I need to reserve a vlan)
So, I don't know if post_signals is the method. I think I need first save the initial request, without computing this number ( asking for last entry + 1 ) and save...
Gil
Or maybe I can compute this number into models
Gil
https://www.smallsurething.com/how-to-fix-database-race-conditions-in-django-views/
Rohan
Pessimistic approach for concurrency issues
Rohan
Nice
Gil
Rohan
Rohan
An auto increment field with a custom increment value if needed
Rohan
So you get row level locking inbuilt
Rohan
Rohan
https://chartio.com/resources/tutorials/how-to-define-an-auto-increment-primary-key-in-postgresql/
Rohan
Something like this
Rohan
And not a pk
Gil
Oh yes, is not easy because is a computed auto-incremend, it depens from another field,
There is two int fields, S vlan C vlan. S+C are unique, autoincrement is C .
Rohan
I see