Anonymous
https://stackoverflow.com/questions/66184536/i-am-trying-to-create-an-writable-nested-serializer-in-django-but-cant-use-pos The full question, can anyone answer me with that please
Pirates Of
Not working what to do...
Any error or you are doing something wrong with serving and also use collectstatic command of manage.py
Anonymous
Anonymous
Can anyone tell me how to get a certain model from create(self,validated_data) method , for fucks sake
Mirco
Anonymous
https://stackoverflow.com/questions/66184536/i-am-trying-to-create-an-writable-nested-serializer-in-django-but-cant-use-pos
Anonymous
Here is the full question that contains the code too, it brings me back the data the way I want but I can't post with an existing CountryName there
Anonymous
I want to post with an existing one
Jerome
Mirco
Anonymous
Anonymous
This doesnt work either
Anonymous
Mirco
Mirco
Otherwise you won't understand
Anonymous
I am, but I want to make this work asap
Anonymous
Anonymous
Anonymous
I tried
Mirco
Django will do the relationship by itself with ModelSerializer
Anonymous
I cant do it in code
Anonymous
in create method
Mirco
You don't need to override the create method
Anonymous
I know the idea
Anonymous
stop the moral
Justin
How to open django ready projects
Mirco
You won't understand even if we share u the code hence it has no sense to share u the code to just copy and paste
Mirco
Doragonsureiyā
How to open django ready projects
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z"
Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Mirco
Rude
No, I'm giving u a suggestion that you don't want to understand
Rakesh
Rakesh
Becoz I'm new in django
Mirco
Doragonsureiyā
Becoz I'm new in django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Shaxboz
what's difference abstractuser and abstractbaseuser
Mirco
Rude
https://realpython.com/django-rest-framework-quick-start/
Try to spend 10mins on this article and you will understand how a relationship works and how to code it
In this article the relationship is between Post and Author
In your scenario Country and Tesla
Anonymous
Thanks bro, but my idea was to understand it by solving that particular problem thats why I asked
Shaxboz
Mirco
?
https://stackoverflow.com/questions/21514354/difference-between-abstractuser-and-abstractbaseuser-in-django#:~:text=AbstractUser%20is%20a%20full%20User,supply%20them%20when%20you%20subclass.
Pirates Of
Rakesh
Shaxboz
Ok
Or ./manage.py collectstatic
Arezoo
How develop bigblubutton in django?
Rohan
Anyone know how to capture image using front cam in django
Rohan
Webcam*
Anonymous
Doragonsureiyā
Krishna
I want to create carousal where i want to update images through admin site... I tried on bootstrap carousal but cant get it...
Any resourse or help how i can do that?
Ali
Ali
you must link the bootstrap and add script of bootstrap before
Krishna
I have done that bro😅... But can't able to add logic where i can upload images in that from admin site
Hitesh
Bro you just have to give the link of the images where they are stored and try to wrap it in a loop
Hitesh
Exact path of the images is required
Hello world
is anyone here who used unity with djnago rest framework
Hello world
?
Sherlock
https://shrib.com/#SouthAfricanHedgehog7xZj96E
Sherlock
I had a variable ‘cap’ in views.py file and as {cap} in index.html file.. i removed both occurences.. ‘cap’ is not in my project.. still getting this error.. any help would be great..😐
Xerena🦋
Do you know the notification module for django rest framework integrated with slack teams sms etc ..
I found this for slack, email, sms -> https://github.com/danidee10/django-notifs
Do you have any different suggestions?
Sherlock
Nope.. never heard of it..😅
Jack
Mohammad
Hi, I have several tabs on one html page and when each one is clicked, the tab is activated and the corresponding form is displayed. I send the form values in Ajax to the server to be saved, but the only problem I have is the form of other tabs. The tab that is active when the page loads, its form is validated. Other tab forms are never approved. Values are also sent as initials, so there is no problem in sending field values.
what's the solution?
Sherlock
Jo
Hi guys, I am using Django allauth in my project, I want to use celery to handle the mail sending of allauth, but I don't know how to integrate allauth with celery. I need help with someone that have had to deal with this use case before. They're little to no resources on integrating celery with allauth. Thanks
yeus
yeus
Like using triggers or what?
Tauqir
Sherlock
The project runs successfully.. i am getting this error when submitting a form.
Damian
Hello, people. One query.
Does anyone know if it is possible with Django to release a mobile version for Android and IOS? A kind of In-app-browser as it exists in Cordova-Vue I mean ...
Thanks
Doragonsureiyā
Renal Eki
hello everyone. how to use ModelFormset for getting value of the input field, and save it to table ?
Banjo
I did it but not working
Where did you store the staticfiles?
If they're in the project folder level, you need to create a STATICFILES_DIRS for the files