VarunTheLord
Do you use git?
Pankaj
I have used django and vue.js. my websites favicon is loading normally in the browser tab. But when I open any file(image or pdf) in browser it shows vue.js default favicon instead of i have uploaded in the browser tab. Anybody have suggestions on this issue????
Mirco
I have the same issue in incognito mode.
Ok so I cannot help u so much 👐🏻
Aneesh
Django-oauth-toolkit with email or phone number for login
Aneesh
How to do this. Please help
Muzaffer
Hi guys when i create a object from admin panel. I got this error.
Muzaffer
ValueError at /admin/book/translation/add/ "<Translation: Martin Eden-Can Yayınları>" needs to have a value for field "id" before this many-to-many relationship can be used.
Muzaffer
any suggestion?
DD777
How make notifications like Instagram when other user liked or commented post
DD777
?
Mirco
How make notifications like Instagram when other user liked or commented post
You mean the notification panel where you can be redirected to the liked post ?
Mirco
Not just to see
Yeah but you mean something like that panel ? Where you can click and be redirected to the post ?
DD777
See all new notifications
Mirco
It's a simple ListView to make a comparison with Django
Mirco
Imagine a notification model with relations with users and posts
Gedeon
Hello Django gurus! I have one urgent problem! I am using Django-multiselect library to creat multiselect field for one of my models and I want to get the list of selected fields in my view but don't know how to get the list of selected from my model in view! Please any help is appreciated!!
Gedeon
The documentation is very small and doesn't explain that tried googling for hours with no help! Please has anyone used Django-multiselect field before? How do you get the selected list of choices in a view from the model
Gedeon
Like modelname.choices__contains or what
Gedeon
Yeah it's says it stores the selected values as a comma separated string in the database! I just wanted to check if some fields are chosen
Gedeon
Yeah I receive a list from the form
Gedeon
What I am looking for is that I am overriding my models pre save method and checking what fields are selected before saving it
Gedeon
So I need to get the selected fields in the model
Mirco
You should be able to get instance.field_with_choices into the pre_save
Akash
Any full stack developer here want to work on e-commerce?
pranit
Which library is use to do sso azure login using Django, can anyone pls help me
Bekhruz
pip install django-microsoft-auth
or pip install django-azure-ad-auth
pranit
Thanks
Gedeon
You should be able to get instance.field_with_choices into the pre_save
It's still not working! Anyone who could help please?
Mirco
It's still not working! Anyone who could help please?
Share the code, it's impossible to help u without the code
Trials
Oath2 or jwt which is better
better for what? those 2 are used for totally different scenarios
Aneesh
I have started using oauth2
Doragonsureiyā
I have started using oauth2
Why? Seriously... Why? 🤔
pranit
pip install django-microsoft-auth
Can I use django social Auth?? For sso azure login
Faraday
Hello how can I let django url field accept www. Currently it says invalid URL Thanks
Rahul
How to share post on social media through django project?
Faraday
How to share post on social media through django project?
WhatsApp and telegram both have apis for that.
Faraday
How to share post on social media through django project?
If I can post links here I would have shared the link.
Faraday
What about fb and insta?
But I don’t know about insta But since insta is a subsidiary of fb am sure it will have
Rahul
If I can post links here I would have shared the link.
Can we post media also Through Django on social media
Faraday
Can you give me how i can do that any blog or somthing
You can create a link under your post that connects to that url. It will open the social media app or website and it will be forwarded there
Namo
Can you pls tell me examples of instagram related templates that are used in django
King Phyte 🐍
Is a variable in a with template tag limited to a block tag scope? If yes, is there any way to override that or get it to be outside that scope? Eg: Limited scope: {% block content %} {% with post=object %} {{ post.body }} {% endwith %} {% endblock content %} {% block script %} {% with post=object %} {{ post.script }} {% endwith %} {% endblock script %} What I want: {% with post=object %} {% block content %} {{ post.body}} {% endblock content %} {% block script %} {{ post.script }} {% endblock script %} {% endwith %}
Arsa
How to make select dropdown in Django Form, from another model without foreign key?
Arsa
'th':forms.ModelChoiceField(queryset=Mhs_SI.objects.values('th_m').distinct()),
Arsa
I try this, but when I call in template it doesnt show up
Arsa
{{formUser.th}}
Harsh
I want stripe payment Gateway is there any video tutorials that can I follow or proper working documentation or anything I don't know anything about stripe I am django devloper
Martin
https://stripe.com/docs
stripe is easy to use and have a good documentations
Martin
hay frinds i need a help .
Martin
how to import a django models to another project
Martin
i create user and admin as two project in django
Muzaffer
Hi guys, my model in here https://paste.ofcode.org/7eE9uC6VnVwYhQWxJtBYic
Muzaffer
when I add a object fromadmin panel. in rename_translation_callback function i got None from this line print(instance.translators), other parameters is correct
Muzaffer
any help?
Sheshadri
when I add a object fromadmin panel. in rename_translation_callback function i got None from this line print(instance.translators), other parameters is correct
m2m fields are saved after the instance is saved so you wouldn't get it in the instance right away, you need to use extra m2m_changed signal to get those values
AKASH
Anyome know about How to use aws SES email service in django default mail
Ismail
Someone could give me how to CRUD with Ajax using Function based view?
mhamed
https://docs.djangoproject.com/en/dev/topics/class-based-views/mixins/#more-than-just-html
Mirco
! search
Doragonsureiyā
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
Arezoo
Do you know other plugin as mezzanine and baton that to change and customize admin panel of django
Mirco
Do you know other plugin as mezzanine and baton that to change and customize admin panel of django
Mezzanine is not for customize admin panel If you are looking for CMS solutions, there are django-CMS and Wagtail as well
Sheshadri
How can i change admin panel template with plugins?
https://djangopackages.org/grids/g/admin-styling/