Михаил
value|customtag
Dhave
right
Karim Norman
Hello, I’m looking for a good way to document my rest API built using the DRF. At the moment I’m using drf-yasg with redoc even if it lacks of proper documentation. What you use to generate the documentation of your Rest API?
Mihail
https://github.com/muflone/django-hotels/blob/master/hotels/models/room.py Look at action_change_building method for example
hmm... Can actions return HttpResponse objects? And how can I run action_change_building method after form filling? What url must I use in templates?
Ansab
404 not found nginx..... For media file..... I put correct media root and media url? Anybody help me
Ansab
Ok
Anonymous
Adblock detector for website can anyone help me ....?
Wanjohi
So when, you say siblings, which field do you mean and in which table
When adding an animal record you have to indicate whether it's born in farm or purchased. If born in the farm, you indicate the litter in which it belongs
Dennoh
When adding an animal record you have to indicate whether it's born in farm or purchased. If born in the farm, you indicate the litter in which it belongs
ok then you can do animal.servingRecord.birthRecord that should give you birthrecord of a given animal. where you will find your sibling details
Dennoh
I don't get it. Passing through Servingrecord from animal won't work
there is only way to find out. try if you can access animal details from servingRecord the other way is also possible
Wanjohi
there is only way to find out. try if you can access animal details from servingRecord the other way is also possible
This is possible, but only for an animal that has been served...Any animal not served, can't be accessed from the ServingRecord. That's why checking the litter against the litter_number in BirthRecord should give animals born same time by same mother
Orack
is there a cms like wordpress for django ?
Quang
Hi all
Quang
class ContractSerializer(serializers.ModelSerializer): asset_type = serializers.ReadOnlyField(source='order.asset.asset.description') asset_description = serializers.ReadOnlyField(source='order.asset.description')
Quang
Can I use this in serializer ?
Quang
how to add 2 level foreign key in source ReadOnlyField in Django rest ?
Maz
Django CMS, Wagtail etc.
I think he meant drag and drop with minimal coding 😂
Lizeth
hello, does anyone know any tutorial to help me get started with django dash, thanks
Muflone
Maz
yah
Then why not just go with Wordpress🤗
Orack
a person with 0 knowledge in programming can use wordpress 😂
Maz
Django is code intensive. No way around that.
Maz
php buggy af
Lol. So you want the performance and security of Django but not the work involved...alright bruh.
Orack
Lol. So you want the performance and security of Django but not the work involved...alright bruh.
i spotted this gap if anyone wants to develop a new language 😂
Mihail
The template is there, in the utility folder In a nutshell, the origin page, (action="")
hmm, it is interesting. So, when button in form will be clicked, will be run action_change_building method second time?
Muflone
Yes
KENNEDY
Please, am working on a Django project and I want to initiate a login system. How do I create a custom login authentication and session tracking with my custom login html page.... If I dont want to use the inbuilt Django auth....
KENNEDY
Pls Help!!!
KENNEDY
True, am a beginner, and I ve been doing some reading and research on it too. But am still stuck .... Pls Help... Even with the slightest of an idea.
Mukesh khandelwal
Have u used payment gateway
SK
i want to create an project
SK
can anyone help me
Artyom
can anyone help me
What is your problem?
SK
What is your problem?
project synopsis
Artyom
What you want to create?
SK
an social media networking website
Artyom
an social media networking website
OK, do you know about Trello ?
SK
no what is trello
Artyom
no what is trello
https://trello.com
Artyom
It's kanban style board
SK
how it willhelp
Artyom
You create a project, call it Social media networking website, you have there 3 columns, To-Do, Doing, Done
SK
👌thanks
Artyom
What you want to create is something big, so easy way is break a task into small tasks
Artyom
Just don't rush
SK
what features i should add in this site
Artyom
It's up to you
SK
any suggestions
SK
i am just a beginneer
Artyom
Than start here
Artyom
New to Django? here is some resources to start Official docs tutorial Django Girls simpleisbetterthancomplex.com Mozilla Developer Network #videos thenewboston sentdex #books Django by Example Tango with Django Two Scoops of Django Django ORM Cookbook
Sami
hey
Sami
how am I supssos to share my problem with you if media content isn't allowed 😐
Doragonsureiyā
Check out PythonRes, a channel for Python resources (links to help you out).
klaus
Bonjour
Manish
how to use dependent dropdown in django with classviews ex as select country state and city
Omia
https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html
Mohiyudheen
Guy's those who interested in *Python* (programming language ) Please subscribe my new youtube channel!❤😍😘 https://www.youtube.com/channel/UC_auNmzoVxjRGDB8eemT1Ow
godmode
Anyone knows and example of a blog commentary made in two levels with an answer...
godmode
?
Another User
I am trying to extend user model using django registration redux. Can anyone provide amy useful links? I keep on getting error "register() missing required positional argument: form_class"
Another User
i thought it might be easier this way. 😅
Another User
And i was sorely mistaken
Another User
https://stackoverflow.com/questions/29620940/django-registration-redux-add-extra-field I followed this link. Can anuome help?
Mirco
i thought it might be easier this way. 😅
Nope, it's so easy without that package Just extend AbstractUser, the simplest way