anrays
hello i need one person for know Dota 2 api ,?
Gerges
How to join my web application by SQL server 2012 python ver 3.11
Alexey
It has load static
show code. we are not telepaths 🙂
Alex
<div class="col-lg-7 position-relative about-img" style="background-image: url('static/assets/img/about.jpg')" data-aos="fade-up" data-aos-delay="150" >
Alex
found the solution : you have to add ' whereYourStaticFilesAre/.../whatEverYouWantToDisplay'
Alex
eg from style="background-image: url(assets/img/about.jpg)" to style="background-image:url('static/assets/img/about.jpg')"
Alexey
In that template the first line
ok. this code dont use {% static %}
Srinidhi
Hii.. can anyone help me in solving this error..I have installed the certifi module and still face this error.. SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)')))
Srinidhi
I am trying to connect to a particular url , get the data from thers and update it in my backend
Hu
Hello everyone, I used Django's default login and logout for my page. But I get this error whenever I try to login "Not found: /accounts/profile/ Get /accounts/profile/ HTTP/1.1 404
Nadia
Hi, How could I can connect Django with flutter ?
Charly
Hi, How could I can connect Django with flutter ?
you dont. You make a rest api then you do requests from fluter app.
Mendès
How to write SQLite on Django
Charly
How to write SQLite on Django
Have you checked to official django tutorial?
Mendès
Yeah can't see
Charly
Yeah can't see
The whole part 2
lina
Can anyone solve the problem
lina
Not Found: /demo/checkout/api/paypal/order/83708865EH817394F/capture/ [29/Mar/2023 22:59:17] "POST /demo/checkout/api/paypal/order/83708865EH817394F/capture/ HTTP/1.1" 404 2356
The Inspired
can I ask about wagtail, the Django CMS framework?
Km
Hello guys, here is a question regarding how to separate the sensitive information into two different setting files. I'm using the dj_database_url module to separate them, but it looks like need the 3rd party(Azure or Heroku platform) to work while I set the DATABASES in prod.py, and put the detail information in dev.py as following: prod.py DATABASES = { 'default': dj_database_url.config() } dev.py DATABASES = { 'default': { 'ENGINE' : 'mssql', 'NAME': <table name>, 'USER': <user name>, 'PASSWORD': <password>, 'HOST': <host>, 'PORT': <port>, 'OPTIONS': {'driver': 'ODBC Driver 17 for SQL Server'} } } Is there anything I misunderstand, or lost? Thank you in advance for any response.
Luca
Hi guys!! I have a Python-Django project and I'm trying to integrate with a C#/.NET existing website SAML authentication, using their idp. I absolutely need to generate a metadata file to give to whoever manages the IdP (C#/.NET website). I've been around the Internet for days but can't find anything; I tried with all libraries (pysaml2, djangosaml2, python3-saml, django-saml2-auth, etc.) but it didn't work! How can I implement it?
KA
Hi all! I have django Django==4.1.7 and django-ckeditor==6.5.1 when I collect static files all goes normal and files appear in folder, but CKEditor doesn not work. It gets me an error that I don't have some files.. I check in static folder and there some files just nonexisten. Does anybody bump into similar situation?
zmod
Hello everyone anyone can help me to customize my admin currently I want to implement a role base user interface for admin the use case is like cms there is a group of users were only allowed to write, edit and approved?
ROBO HEAD
My static files are not getting loaded in django 4.1.7 . Any solution?
Doragonsureiyā
Jamie
In edit modal Only latest Id is updating other are how to do this
Jamie
Others are not updating
ROBO HEAD
Hi all . I have django 4.7.1 installed. Im using the basic static files configuration . Static Dir , static root , static url all specified in settings. Also added static files in installed app . When i render an html page it throws 404 on all static files. I have loaded static tag too. Any solution?
Luca
Hi guys!! I have a Python-Django project and I'm trying to integrate with a C#/.NET existing website SAML authentication, using their idp. I absolutely need to generate a metadata file to give to whoever manages the IdP (C#/.NET website). I've been around the Internet for days but can't find anything; I tried with all libraries (pysaml2, djangosaml2, python3-saml, django-saml2-auth, etc.) but it didn't work! How can I implement it?
Sea
Hey is there a virtualization/containerization/ or sandboxing expert here??
Oyatillo
How can get all api list of drf: https://api.road24.uz/
max 17
How can get all api list of drf: https://api.road24.uz/
If u are developing this backend, u can just print the URLs from urls.py, then you can see all the options
max 17
I am not the developer of this site
Then u can only see the ones in the API Root, and there is a default /admin url as well
Leo
Installed the django debug toolbar, and on the admin page it appears correctly. But when I go locally to the home page of the site, the debug toolbar doesn't show up. Thank you
lina
Hello I need a Help I encountered a problem when creating monthly payment packages via Paypal. The Paypal payment button did not appear on all cards. It only appeared on the first card. What is the reason?
lina
Knowing all the details of the packages appeared in all the cards
Sourabh
after all this i got this error
Sourabh
Please enter the correct email and password for a staff account. Note that both fields may be case-sensitive.
Sourabh
but if i login with username and password then i can easily login in my admin page
Doragonsureiyā
after all this i got this error
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)
Quang
hi guys
Quang
i'm getting issue with celery
Quang
app = Celery('app', broker_url='ampq://***/0')
Quang
but when i start celery
Quang
the transport .> transport: redis://:**@localhost:6379//
Quang
[2023-03-31 08:57:38,675: WARNING/MainProcess] No hostname was supplied
Quang
but it can't connect to my broker that i define in broker url
Quang
if keep using redis
Sourabh
https://nekobin.com/lihequrafa
Sourabh
please help me to solve this issue
Aleksey
Hi! I just found a legacy internal project that uses django and now i'm trying to clean it up and make it work again. I'm not a django expert, so i need some help. In requirements.txt i have: django_auth_ldap djangorestframework djangotoolbox Which are not imported in any of the files. I'm not sure if they are needed or not. How can i find out?
Anton
Hi All! I would like to ask for some advice on learning Django: where to start and what to look for. I'm currently working as a business developer, I know databases and Python, but I want to move to development, so I'm interested in
Doragonsureiyā
Hi All! I would like to ask for some advice on learning Django: where to start and what to look for. I'm currently working as a business developer, I know databases and Python, but I want to move to development, so I'm interested in
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Dhritesh
Anyone help how to handle 404 not found exception in django rest framework or any other exception
Charly
Anyone help how to handle 404 not found exception in django rest framework or any other exception
404 means probably you used the wrong URL other exceptions have other reasons
Dhritesh
404 means probably you used the wrong URL other exceptions have other reasons
Yes right now i am getting html response but i want json response
Charly
Yes right now i am getting html response but i want json response
Well, is impossible to help with no code nor any detail
Dhritesh
I have created product modelviewset crud is working fine but when I internally hit wrong url then its not being handled...I want to handle that situation by jaon response instead of html
theDisgrace
U can return response in the view.. if the url is not reaching the view, then u can write a custom view to handle 404 response and assign it to the handler404 in the URLs.py
heart stained
Hello! I am using celery + redis for scheduling tasks via ETA (from 5 days and greater). I met a problem with duplicating tasks. In inspect there are two (sometimes even three) tasks with the same id but different eta’s, also they are executed twice, it causes a lot of problems. How can it even be possible?
torinodays
Hello! I am using celery + redis for scheduling tasks via ETA (from 5 days and greater). I met a problem with duplicating tasks. In inspect there are two (sometimes even three) tasks with the same id but different eta’s, also they are executed twice, it causes a lot of problems. How can it even be possible?
Hi, I’m not sure that using of such long ETA is a good idea in terms of performance and reliability. I faced that bug when I only started using celery and I remember that problem was pretty “popular” then and it was related to kombu library and visibility_timeout settings. Maybe this issue could help: https://github.com/celery/celery/issues/8069
torinodays
Hello! I am using celery + redis for scheduling tasks via ETA (from 5 days and greater). I met a problem with duplicating tasks. In inspect there are two (sometimes even three) tasks with the same id but different eta’s, also they are executed twice, it causes a lot of problems. How can it even be possible?
I’m not saying it’s the perfect solution, but I would rewrite the functionality related to long ETA and make it work based on some database value like task_created_date = <tomorrow>/<in_5_hours> and I would use celery-beat to check for the time of the task, and then run it right away
heart stained
Thanks for the reply. You helped me a lot. From the first glance it seems like it’s the true reason.
heart stained
Only thing i can’t figure out is that it worked for about two weeks without any troubles and only now it happened