Doragonsureiyā
Can Someone help me out
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Ss
I want one one web application in python can anyone make for me
cr
Aryan
I'm having some trouble with hosting django channels using ngnix and gunicorn.
.
.
Someone with experience in hosting, please help me with this.
Morteza
Ilsaf
Hey guys. I like to test my async func for some request per second. How i can imitate this lets say 100 reqs per second?
Alik
need help with django-mptt, i cannot display them properly in bootstrap 5 dropdown
Alik
need help creating categories and subcategories in django
ky
Type Error context must be a dict rather than str
Nikolay
The django-machina application for some reason returns a 500 instead of a 404 error when debugging is disabled. When DEBUG = True, everything is normal, it returns 404. At the same time, the rest applications of the site works fine, return 404 errors as it should be in both, debug and production modes. I couldn't google anything. Please tell me where to look.
kam
I guess it is advanced Question. How to dynamically create view in DRF, i.e, one view class is responsible for different API endpoints. I see this can be implemented by naming url path as view serializer and based upon the same url path to filter database. Classes can be created dynamically, but i can't figure out how.
Upon receiving request, View Class should parse url -> implement this somehow in queryset attribute and serialiizer class
Д
kam
what's the application?
i have a lot of basic views and the only things that change are querysets and serializer_classess. Only GET requestst
Д
Д
so if you do /endpoint/param=foo you get behavior one and if you do /endpoint/param=bar you get behavior two but the second endpoint can be served from some other place called /whatever/param=bar
Д
the View itself shouldn't be aware of where it's being served from
Д
because at the end of the day, that's a routing question
kam
Д
kam
Д
or well, if that gets called automatically, that's not gonna help you
Д
you need to do the calls\filters by hand for the Queryset (at some point)
kam
Нормуродов
Hello everybody )))
Can you share or advise me any youtube channel to learn Django from scratch or any Udemy course ???
Thanks
Maxim
Prometheus
All of Django tutorials in Udemy are bad. I don't recommend any.
Нормуродов
Prometheus
From my personal learning experience, it'll be easy to learn/remember django, if you understand it's structure and how things (Models, Views, Templates, and Urls) fit together. Once you truly understand this, just create a CRUD application yourself. The rest just comes naturally with practice.
Prometheus
elf
Does anyone know how to make a HTMX request with a payload? All the examples in the doc keep showing a simple get to a url with no data.
Prometheus
Prometheus
HTMX seems to have hx-vals attribute, but it doesn't work.
Брат
Which way is appropriate to send to the front:
1.
{
'status': 200,
'message': 'Testimonials fetched',
'data': response.data
}
2.
{
'success': ['Testimonials fetched']
}
and if error:
{
'error': ['Testimonials didn't fetch']
}
sakshi
can any one help. to. resolve my error. please it's really important for. me
Breeze
pls have help
i want to know the cause of Error 503. Service Unavailable
i just hosted my django app on namecheap and i got that error
web url = www.kliqaffiliate.com
cj
Breeze
sakshi
I m not able to connect data through frontend to backend
sakshi
it's giving table not found error
sakshi
while clicking on submit button
Breeze
read the logs ¯\_(ツ)_/¯
This is my error log
/usr/local/lsws/fcgi-bin/lswsgi_wrapper: line 9: exec: /opt/alt/python39/bin/lswsgi: cannot execute: No such file or directory
cj
Breeze
it's coming from passenger_wsgi.py
i guess...
but i don't know how to fix it
Breeze
cj
pls give me a clue
looks like you're using some weird configuration for using Apache and/or OpenLiteSpeed ¯\_(ツ)_/¯ you should read the docs of the tools you're using to deploy your app, sadly we can't do anything for that in this group, you should move to a DevOps/Sysadmin group by yourself
Breeze
Sang
Anybody with a book recommender system here?
sakshi
this is the error I'm getting
Satyam
Anonymous
https://stackoverflow.com/questions/71428749/access-multiple-many-to-many-relationships-in-a-django-template
Anonymous
Anonymous
hi .. please someone who have knowlage in websocket
Doragonsureiyā
hi .. please someone who have knowlage in websocket
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
:x-re
Hi guys
I need help how do
Deploy my project on windows server or vps
If give me any show video how i do that .
Ty
cj
:x-re
But i have working with celery and redis
:x-re
So what i do?
Sakshi
Can you help me out in creating Jwt roled based authentication in django?
mr
Hello, how can I edit django admin detail view to show object edit history?
Ali Hasan
look for something called LogEntry
mr
mr
G4st0n
mr
In django admin column names, one of them is not showing up, and because of that their order shifts, how can i fix that?
Vaibhav
mr
mr
I cant share pic here
mr
Its where I have list of the model objects