محمد دلشاد
ERROR: Could not find a version that satisfies the requirement django-filters==0.2.1 (from -r requirements.txt (line 30)) (from versions: none)
ERROR: No matching distribution found for django-filters==0.2.1 (from -r requirements.txt (line 30))
محمد دلشاد
and i can't even install django-filters with pip command directly
محمد دلشاد
i am trying for 3 days and also have gone for github as well as stackoverflow
محمد دلشاد
i always put help here at last
محمد دلشاد
محمد دلشاد
this is why its on my requirements,txt
محمد دلشاد
محمد دلشاد
so it should work right?? but its not
Mehmet
https://pypi.org/project/django-filter/#history And also you have extra "s" letter after django-filter
Anonymous
.
Raj
Hey, Even If I restricate the domains using Django-CORS-Headers, I am still able to access the data from the main api from other applications. Can anyone please help me in restricating other domain requests to my api. Please.
Anonymous
André
Did you run "collect static"?
Anonymous
André
What Webserver are you using?
Anonymous
Pythonanywhere
Anonymous
How to use Otp verifications with django ?
Anonymous
No
محمد دلشاد
5P34R
Please I need a help with static files
I created staticfiles_dir and add path
5P34R
But while after importing the static in templats
5P34R
The files are not loading
Raghav
Hey guys
Raghav
I've made an api and implemented pagination is that api
Raghav
https://del.dog/banyngigna
Raghav
This is my view.py file
Raghav
And you plzz plzz check if I've implemented the pagination correctly
André
Mike
postgresql its good to use in django?
Astrapel
محمد دلشاد
Tejas
Guys please someone give me django course udemy
Tejas
I want to learn and update
Anonymous
ɱσσɳ
Anonymous
Hm
Roman
Hi guys, I need help about performance issue. I have 4 cores, * 8 GB. I have GUnicrom + Nginx set up with 9 workers running, tho. But also I have quite a lot IO blocks inside that should be done in the Celery but they currently in the view. I am doing about 100 requests per minute from the Webhook that takes about 20-30 seconds to proceed, as well I have 4M records in database. So my question is. I can see on the linux the cores are taken only for 50% but the server can not handle 100 per minute just about 65, what is the way to fix it ? Using celery ? Or incresing workers ?
Mehmet
Roman
Okay I check
Anonymous
i cannot find documentation for foreignobject model field on django
Anonymous
any source i could lookit up for syntactical use?
Mehmet
Okay I check
Also django offers some performance tweaking settings and coding behaviors in the link below.
https://docs.djangoproject.com/en/3.1/topics/performance/
Roman
Mehmet
django-silk package does SQL analysis per views. Cprofile is a builtin package which does functional analysis. After visualizing your basic request response cycle you may start to make comments on what is going on behind the scene.
Mehmet
There may so much possibilities, such as N+1 errors, unindexed scan, partitioning need etc.
Mehmet
Pay attention on basic workarounds for traffic overheads between server and DB such as save(update_fields=.., N+1 query handlers such as prefetch_related or select_related, values or values_list for eliminating unneeded fields.
Mehmet
Also if your sql queries take much time make a research on query explaining feature on DB.
Talha
Hello to everyone. I have to get an opinion on a topic. I am using Django Framework. But I don't want to use the default admin panel. How can I download other admin panel themes and add them to my project.
And how does this have positive or negative consequences for the system and security?
Baku
Baku
Talha
Thank you
Baku
Thank you
https://django-jet2.readthedocs.io/en/latest/
cj
cj
Can't I use this on an e-commerce site?
read about the licensing, if you're gonna make your software open source, you can use it for free... if you want to make it closed source, you have to pay for the license
Eazy
Hi y'all, so am using the following DEFAULT_AUTHENTICATION_CLASSES for authentication:
- rest_framework_simplejwt.authentication.JWTAuthentication
- rest_framework.authentication.SessionAuthentication
But, when I try to check authentication status through: request.user.is_authenticated it returns False even when the user has been authenticated through JWT.
Kindly advise on what I could be doing wrong
Roman
Is it any package some analytics or UI for the celery ?
Mehmet
https://github.com/jazzband/django-celery-monitor
Gk
Hey guys anyone in with beautifulsoup
Gk
I am stuck with something
Gk
Please help
Gk
?
Bekhruz
Gk
Sobha
https://stackoverflow.com/questions/63608504/is-there-anyway-to-run-a-game-irrespective-of-reloding-page-in-django
Sobha
Please help me
charlie
R.U.S.H.A.B.H
How to download file with url link in template and file is in media folder through django 3.0
R.U.S.H.A.B.H
?
R.U.S.H.A.B.H
Yess
DD
Hey
I want to retrieve data from database and display them into html form by using jQuery ajax.
For example, If user want to edit his comment the edit section will be already filled with his last comment data
So, how can i retrieve that data to ajax and set that data to html form ??
Srijwal
Try django groups
Karthik
I am getting error : invalid block tag on line 25:'end', expected 'empty' or 'endfor'.did you forget to register or load this tag.