Root
Root
Django: Create Submodel in Model - Stack Overflow
https://stackoverflow.com/questions/12485733/django-create-submodel-in-model
VISHNU
https://hastebin.com/agoxosodiz.rb
VISHNU
Django admin autocompletion field if any one know please help how to do in custom form
Shruti
How to create pdf in django
Mirco
Doragonsureiyā
How to create pdf in django
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
Root
AJ
Guys, anyone knows when can we expect async orm?
Ghorz
But async can mess you up if you don't know how to use it
AJ
True but will get more exposure to it when it's part of Django. There are plans to add it into the django not sure when that's gonna happen. Because it's a difficult task for them as well.
Musa
Sai
AJ
Django orm will have async soon
Matin
Hello
I wrote a dynamic form with JQuery whose number of fields depends on the values defined in the field. For example, if someone is married, 10 more fields will be added to the form. I handled all this with JQuery but I do not know how to connect it to Django now And how to store information and what model to write.
Ghorz
Ghorz
Or dependent table
Ghorz
It is a table that relies on another table
Ghorz
If you have worked with shopping cart
Ghorz
You will understand better
Elijah
Please how do I create multiple forms on a page with a 'add new' button and submit it to the same url
𝕯aniel
guys somebody here use drf-yasg for documentation API?
Shivam
How to make Django Categories, Sub-categories, and sub-sub-categories. [With Source Code]
📘 Post Link:- https://lnkd.in/ePVbgQf
🌟 Github Repo:- https://lnkd.in/eeKSubA
The
Hey I want a internship
Anyone can suggest me?
Mirco
Mirco
The
Mirco
sravan
Is there any way to get the foreign key quaryset ..from a quaryset .. without for loop
rtg
Hi! Django desploy using Nginx, Gunicorn and Supervisor, show this error: 2021/06/27 13:31:26 [crit] 14039#14039: *24 connect() to unix:/webapps/retegienv/run/gunicorn.sock failed (2: No such file or directory) while connecting t
o upstream, client: 194..., server: 167.., request: "POST / HTTP/1.1", upstream: "http://unix:/webapps/retegienv/run/gunicorn.sock:/", host:
"167...".
rtg
My dropplet hasn't got "run/" directory and "gunicorn.sock" file.
AJ
Guys anyone has seen performance benifit by running sync django app on asgi server? Is it worth it?
Morteza
AJ
It's a normal application that can run on asgi or wsgi
VISHNU
https://hastebin.com/agoxosodiz.rb
Django admin autocompletion field if any one know please help how to do in custom form
Morteza
It's a normal application that can run on asgi or wsgi
do some search and understand the difference between thoose.
then choose you'r way.
quick example:
if you want like a real chat application definitely you need to use asgi.
because it is stands for asynchronous server gateway interface
AJ
No man, now django 3.2 comes with asgi and wsgi both by default you can use either for deployment
AJ
Runserver does
Anonymous
Anonymous
Anonymous
Ye concept kaha sikhne milega YouTube pe to nai milra
ຸ
Did they change api_view in DRF? I can't receive inputs the way I used to do it.
AV
Hi everyone! I need a help, i don't understand, how can i call a tag from the inherited template and extend him? I have the inherited template and the div tag inside, i want to add an extra content to that tag from the my new template. Thanks in advance!
William
William
William
Vel
Developed an intranet application and wants to authenticate using active directory. Can someone help me with this?
William
AV
Do you want to add some content inside the div tags?
Yes! I think - i found a resolution, but i am not sure is this a good practice or not. I definied an extra block like {% block extra %}{% endblock extra %} in the div tag, the div tag was definied in the {%block body %}. I did {%block body %}{{ block.super }} {% endblock body % } in the new template and after that i just call the {% block extra %}new content {% endblock extra %}. By the developer console consediring i see that the new content was added successfully in the inherited div tag, i reboot the developer server, it works correct.
Pavel
hello. i have a problem. 1 subquery is loading twice
qs.annotate(
section=Subquery(EconomicActivities.objects.filter(code=OuterRef("oked")).values("section")[:1]),
section_name=Subquery(EconomicActivitiesClassifier.objects.filter(section=OuterRef("section")).values("name")[:1])
)
The problem is in section_name. It refers to previously annotated field
William
AV
sravan
Sai
Which will be the best for handling more concurrent requests. Gunicorn async or sync. Through documentation I didn't understood clearly.
RIO
Hello guys
M***
How could be the design of database for multi-select list
M***
For an example. If I have 3 options for my habits. let us consider cooking, reading and playing. How to store these three habit in the options in a database. Can you help me to do this?
DD
DD
Raja
anyone interested to work on this?
https://github.com/WeblateOrg/weblate/issues/2752
Navin
There are live sessions going on… only 7000 INR
Navin
Demos links are posted above 👆
sravan
Gobi Mahato
Lol
Rohan
Lol
Use offtopic for promotions and stuff and read the rules
Gobi Mahato
Ok
Gobi Mahato
But I don't wanted to promote.
Dark
Can someone show me how to use bootstrap offline