Anonymous
Integrity error
Not null constraint
Anonymous
Error
Anonymous
In postman
Anonymous
How to solve it
Mirco
By sending also that field
Anonymous
I'm sending it
Anonymous
is there any plugin for implement drag and drop image upload on admin?
Anonymous
I resolved it
Anonymous
Dani maybe use some Javascript libraries
Михаил
Mirco
Anonymous
Does anyone know is it possible to get a work without JS?
Mirco
Anonymous
Because as I see with Django we can prepare not only backend and also frontand)
Anonymous
Mirco
Михаил
You can assign your fields in the Form.init method
Anonymous
Михаил
Dynamic form does not require much of JS
Anonymous
But when I have been learning JS, I also have been learning JQuery and this library was the most interesting ivs Vue or React, Angular)
Anonymous
I love python due to his readability
Михаил
Frontend still evolves heavily
Mirco
Михаил
If you have some fields visibility dependence, you have to use JS
Anonymous
Can anyone tell me what are the advantages of creating api with serializers rather than with forms
Андрей
Less code and flexibility, also you can use ModelViewSet(from drf) and get all CRUD api in a couple lines of code
Михаил
You don't want crack nuts with your mobile phone
Михаил
Or with your charger cable
Sander
Could anyone help me out with the following; https://stackoverflow.com/questions/57407550/update-or-create-causing-invalid-literal-for-int-with-base-10
Anonymous
@id6598477 thanks again for your wonderful guidelines . I will try to crack down it🙏
Ярик
I'll just leave it here
https://github.com/shahraizali/awesome-django
Mirco
Shaikha
Does anyone know how to convert uploaded html file from user, to pdf? Using drf
Mohit
how can I package my Django Project ?
Ильдар
Hi all, please tell me how can i run python script on click button. Now I'm uses subprocess.Popen("exec(open('myfile').read()), but i see 'exec' is not recognized as an internal or external command,
operable program or batch file.
Mahdi
Hi all.
Mahdi
how can i solve this django.contrib.auth.models.User.DoesNotExist: User matching query does not exist.
Aswath
What is the use of class based views
cj
Aswath
Ur answer seems pretty self explanatory but im asking for the comparison with traditional function based views
Anonymous
Less code
...
Oops functionality
cj
Aswath
Aswath
cj
Anonymous
I know
Anonymous
Anyone have Modelviewset crud eg
Anders (izzno / gooood) 🇳🇴
Is it normal for Django Debug Toolbar to increase loadtime by seconds when you have 200+ queries ?
Anders (izzno / gooood) 🇳🇴
https://imgur.com/rMcAdHy
Anders (izzno / gooood) 🇳🇴
Loads in ms when toolbar is disabled...
cj
cj
that's why it has to be used only in development
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
Or correction, it's a number not relevant to production
cj
Anders (izzno / gooood) 🇳🇴
I never noticed because i never backported the data to dev, now i wrote a program to seed the dev env with stage data (meaning LOTs more data). Then i noticed.
Anders (izzno / gooood) 🇳🇴
Igor
Hi, i need some help.
i'm using channels and want to trigger my websocket when the result of a raw query maked in oracle db (not in my models) change the values, have any manner to do this?
Igor
i'm afraid to do this
cj
cj
nvm, have you tried it yet? or are you just thinking about it wheter it's gonna work or not?
Igor
i'm doing this right now hahah
cj
Igor
in production
cj
but who knows, maybe there's a better approach to solve that, have you gone to walk to StackOverflow yet? 🤔 people there know magic too
Igor
yes. Thanks for the attention, i'll search better approaches and test my dumb method hahaha. If i find some good result, i'll bring here latter.
Igor
if this is interesting
Flavien
Hello guy's how to connecter Django app to MySQL database ?
#please help me !