Morteza
Dj - 505
Morteza
Proton
Hello guys
Does anyone have an idea on how to convert all ids to uuid
I keel getting some constraint errors when performing migrations
And int does not have replace ....
Дмитрий Борисов
Д
The UUID can be thought of as a huge integer too if that helps
Doragonsureiyā
Д
Д
The bot should do bot things.
Д
Morteza
Д
Set that to ['*']
Suraj
Suraj
Okay then next
Д
That should be it I think.
Suraj
Suraj
It's been 4 days I'm learning django so i don't know what you are saying
Suraj
Heruku ... ohkay...will check then
Д
The runserver command will run the server and it should be accessible, Linux or not.
Morteza
Morteza
windows is not a good idea
Д
If he wants to deploy the app for the world to access, then Heroku will be needed.
Morteza
Д
But the usecase is not well-defined. Or was there something I missed?
Tony
guys i am creating a backend for mobile application(flutter)
i used django rest framework
Morteza
but i wonder that he only started django about 4 days
too soon for deploying i think
Tony
what should i do now
Tony
Tony
i heard that i should uplod my project on some server?
Д
Д
Morteza
Tony
Д
Narayan
How can I integrate own html template in django admin panel.
Anandv
I have learnt Python basic and advanced stuffs (oop)..and have a little bit of knowledge in django...i need to do a intermediate level project in django..any suggestions????
User
User
I am integrating razorpay in django, but when I select net banking option, the pop up page gets blocked. The payment is done successfully,but the page gets blocked. Can anyone plz help?
I have also allowed popups in chrome settings.
Vivek
Abdulwahab
Hello guys, If may I have a question,
How to implement the same style of setUpTestData() in pytest ?
to create some DB entries on class level. those DB enties will be shared/used across all test cases inside the class.
Anonymous
Mates, what is the difference between a Slug and a String?
Dheeraj
Proton
Hello everyone can anyone help with how to configure *EXIM* server on django project
Adhil latheef
How setup firebase bucket as default_file_storage in django.....can't find any documentation in Google
Bullet
Hi u guys
Bullet
any body .. modal login email with django bootstrap can help? All procees is working but .. modal doesn´t work ...
Bullet
Anybody can give some light?¡
Bullet
I was customizing my loggin with email and username.. that´s works fine.. but when I try to use it in a modal.. mm.. nathing!! no errors, no redirect, no loggin..
Bullet
I´m stuck in this simple little thing, and I´m with a terrible headache... U know, I can´t even breathe because, since 3 day i´m trying.. It´s too much..
Bullet
So that´s why I came to disturb your peace... I´m sorry becasue I´m not good enough
Ali Hasan
Hello, does anyone know why .filter() is returning the same object multiple times ?
Ali Hasan
for example , .filter(id__exact='something') is returning that object 3 times
Д
Д
Bullet
Bullet
if I can help..
Bullet
Ali Hasan
Ok so yeah my query has to prefetch things (3 in this case)
Ali Hasan
but shouldn't it just join them all in a single object ?
Ali Hasan
May I paste the query here and explain what I have exactly in DB ?
Ali Hasan
departments = list(Department.objects.filter(id__exact=request.auth['building_id']).distinct().order_by(
'name', 'branches__name'
).prefetch_related(
'branches', 'branches__programs', 'branches__programs__stages'))