Arezoo
https://djangopackages.org/grids/g/admin-styling/
Do you know baton library in django?
Mirco
How can i change admin panel template with plugins?
Have a look at django-grappelli But the most is up to u
Doragonsureiyā
How can i change admin panel template with plugins?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Sharan
Hi guyss
Sharan
Does anyone have Django insurance project??
Sheshadri
https://paste.ofcode.org/RPEjAHgc7Ly5Y5zWRmJJU3 still got none
try instance.translators.all(), m2m fields are query based.
Mirco
Never implemented embed PDF I've always let the browser open tab and let it render the PDF or let users download the files
Sharan
Okay thanks
M
can anyone suggest me general projects on github which used DRF to build sites/tasks and webpages .. i have a little to intemediate level experience in django but want to see the real use of DRF in projects as well
M
APIs this is the real use of it
Actually most of internet is talking on that API part only ..I have done projects in django where I pass the dictionary objects to render and still learning on that but I was thinking how that API part I can integrate with the current projects ..may be feeding data to my templates
M
I am exploring on drf website found some video tutorials thanks
pythonista
I want to know all the django security checklist and measures to prevent it from hacking? Where do i learn? Any easy or quick guide. Please tell me.
Gedeon
Share the code, it's impossible to help u without the code
Thanks so much for the help! I got it fixed it was a simple solution since it returns a list I just did for selected in multiselecet then it returns only list of selected items
Mirco
Doragonsureiyā
Thanks
You're welcome! 😊
Anonymous
Is there a way to real time validate forms in django like it's done in JavaScript??
Mirco
Is there a way to real time validate forms in django like it's done in JavaScript??
You have to use both Frontend validation only is like an opened door
Doragonsureiyā
Is there a way to real time validate forms in django like it's done in JavaScript??
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
I have deloyed the project in pythonanywhere,when i am trying to login with correct username and password in pythonanywhere website it showing the not an user Only in Pythonanywhere website its showing like that, but in console server it’s working
Doragonsureiyā
I have deloyed the project in pythonanywhere,when i am trying to login with correct username and password in pythonanywhere website it showing the not an user Only in Pythonanywhere website its showing like that, but in console server it’s working
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Gedeon
Hey everyone another question, I have a method to send an email notification on a models pre save signal using Django's send_mail and can anyone one please show me how to write unit test for that??
....
Hi everyone, might be a silly question but what will be the "specialty" if one learns Django? Full stack or just a backend?
Gedeon
Hey everyone another question, I have a method to send an email notification on a models pre save signal using Django's send_mail and can anyone one please show me how to write unit test for that??
Bhashkar
can anyone help how can i remove trailing slashes end of url.
Hossein
How should quantify json field in django??
Anonymous
Is it good to use HTML forms in Django project?
Anonymous
why not
But can I validate it like I can with Django forms.
Forouzan
Hi. How can i make a modal popup in a single page which shows the image and the other items from data base?!
goku
Can anyone recommend a good tutorial or book for Django and drf
Anonymous
Yes
Thanks.
Jose
Thanks.
You're welcome
Jose
Hi. How can i make a modal popup in a single page which shows the image and the other items from data base?!
First make a modal Second you can use Ajax to get informations in your Database Then you put results in JS variables 🤔I Think it'll work
Temirlan
Hi everyone. I have a question, please. What to learn after a language first: framework or DS and algorithms?
Temirlan
I am really stuck on this issue
Temirlan
Can u please explain ur choice? I just want to know the reason, because so many people write different answers.
Anonymous
Can u please explain ur choice? I just want to know the reason, because so many people write different answers.
You will less stuck in projects if have better understanding of data structures and algorithms
Anonymous
Ans is according to my experience
Temirlan
oh
Mirco
Frameworks are just tools
Anonymous
You will write a better code
He is more experience guy than me😊
Temirlan
so it’s better to learn frameworks after?
Anonymous
Temirlan
Up to u
what about doing some projects?
Temirlan
i can’t do any without frameworks,right?
Mirco
what about doing some projects?
It's obvious that the more you play the more you learn
Mirco
Frameworks are just tools, you are not obligated to use them But without them, you need to reinvent lots of wheels But they are not mandatory
Temirlan
Oh
Temirlan
Thank you, guys
Temirlan
i really appreciate ur answers
Temirlan
i m just a freshman and little scared what to do next
Anonymous
You can ask me if you want and course or book for free
Temirlan
Hi everyone. I have a question, please. What to learn after a language first: framework or DS and algorithms?
how much of a language should i know before jumping into these fundamentals?
Temirlan
i have started learning oop concepts
Temirlan
thank you
Doragonsureiyā
thank you
You're welcome! 😊
Arsa
How to do orm select column from two different model?
Anonymous
How to do orm select column from two different model?
Contact, Profile model with foreign key to User model UserModel.objects.filter(username__user__address="China")
Anonymous
Might not be what you want but what am trying to say in essence is that you use the double underscore to navigate different columns
Arsa
have to use a filter?
Arsa
SELECT nim, k.kode, s.nama, sks, nilai, th_ajaran FROM mahasiswa_khs k, mata_kuliah_si s WHERE k.kode = s.kode AND nim = %s