Д.....
My request.POST contains only the last form in my formset.Can you help me pls ? Here is my code - https://stackoverflow.com/questions/76492114/django-request-post-contains-only-the-last-form-in-my-formset/76494222#76494222 . Thanks!
Fitzgerald
i wanted recommendation on books on django . ie i struggle with does concepts for view and models . any help with be welcome
Phrêsh
Francesca
Francesca
Д.....
Mimi Khalid
Hello.
How can I pass api response value from html to views.py ?
Phrêsh
Phrêsh
C_K
Soham
Soham
That is the most efficient way to do it
ERMIA
A table
You want to transform a table to pdf?
Francesca
Soumia
Hello I have a problem in django can you help me
¯\_(ツ)_/¯
Hi could someone help me with setting up an OTP service in django
¯\_(ツ)_/¯
I implemented it with the help of twilio...but then one or two methods in the viewset aren't working as was expected
Anonymous
Hi there! Anyone please instruct me how deploy django application in railway.app website?
Francesca
Vikash
Soumia
Discuss your problem with us
When I want to clone my project, they tell me to download Pylance and Pylante
But I already did it so I don't really understand what I should do
Grib.Club
holla. anybody have a clue i use pycharm and after something happened ./manage.py runserver start vscode instead of server, how to change it back?
MA.F
Hi. I'm having some problems with testing my endpoints in drf because of the throttling in my endpoints. I want it to be disabled for some tests and enabled for the test case that tests the throttling. Does anyone know what's the proper solution?
fateme
MA.F
Derrick
Using Django?
Derrick
You wrote all that?
Careful
Hi,
If you want to create/export pdf file, you can use Django reportlab module
>
Using Django?
Yes or even if js can get me the table in a pdf format
>
Careful
>
Careful
https://youtu.be/B3OCXBL4Hxs
Careful
Watch this
Tԋҽ Gɾҽαƚ
Please. How I fixe this error:
A server error occurred. Please contact the administrator.
This error appears when I run Django
cj
NK TRIPLLE
.
I need some resources to learn AJAX crud functionality
.
Thanks
K
Hello everyone...I am working with a start-up and worked on different types of work like react, django, flutter..Now I want to switch in a particular field to enhance my skills properly...Is any job available for django...I have 1 yr of experience
◻
hey um, i have this multivendor ecommerce django project and i tried to host it in digital ocean - not free, azure - not free, same with railway and heruko, please tell me if you know any free services
Doragonsureiyā
Amit
Can anyone tell me how to solve this error:-
Modelform has no model class specified
theDisgrace
Amit
Yes offcourse
Amit
Sending media is not allowed in this group
Amit
from .models import Appointment
from django import forms
class AppointmentForm(forms.ModelForm):
class meta:
model=Appointment
field='all'
theDisgrace
theDisgrace
theDisgrace
theDisgrace
Use two underscores
Amit
from .models import Appointment
from django import forms
class AppointmentForm(forms.ModelForm):
class Meta:
model=Appointment
field='all'
theDisgrace
Amit
it is automatically remove underscores
theDisgrace
Just as you write init in class
¯\_(ツ)_/¯
Hi could someone help me with setting up an OTP service in django
I implemented it with the help of twilio...but then one or two methods in the viewset aren't working as was expected
Doragonsureiyā
theDisgrace
fateme
I have a m2m_changed signal that does not work. can anyone help me ?
Doragonsureiyā
fateme
I have a m2m_changed signal that does not work. can anyone help me ?
post save or pre save works correctly, but m2m change not. here is my code :
@receiver(signals.m2m_changed, sender=models.ManualStation.operators.through)
def send_notification_to_new_operators(sender, instance, action, model, pk_set, **kwargs):
print("===========opps============")
print(instance)
print(type(instance))
fateme
post save or pre save works correctly, but m2m change not. here is my code :
@receiver(signals.m2m_changed, sender=models.ManualStation.operators.through)
def send_notification_to_new_operators(sender, instance, action, model, pk_set, **kwargs):
print("===========opps============")
print(instance)
print(type(instance))
It does not trigger at all. and it is the definition of operators field in ManualStation model :
operators = models.ManyToManyField(
"users.MyUser",
verbose_name=_("Operators"),
related_name="stations",
blank=True
)
David H
David H
It's strange that it is never fired
fateme
David H
David H
Another approach you could implement is to try to access the proxy table that joins both models and make it fire the event. If you could't access it you could implement the many to many explicitly by a through model and then make it fire the event
David H
Maybe this is a bit complex, it has to be a better approach, but if you didn't find anything... It could be nicer than nothing
Amit
bhzad
Hello, Friends, do you know that this course is taught in a version of Django?Is there a useful tutorial?
Has anyone prepared from you?Thank you for your guidance
Course link:https://www.udemy.com/course/python-django-real-world-project-multi-vendor-restaurant/