Skip to main content

Questions tagged [django]

Django is an open-source server-side web application framework written in Python. It is designed to reduce the effort required to create complex data-driven websites and web applications, with a special focus on less code, no-redundancy and being more explicit than implicit.

django
0 votes
0 answers
5 views

Keep getting error while uploading Django project in vercel

while i am deploying my Django project using vercel i am keep getting this error Error: No Output Directory named "staticfiles_build" found after the Build completed. You can configure the ...
Akarshan Ghosh's user avatar
-3 votes
0 answers
10 views

while making a change in a price ecommerce app by selecting the different size i get error in unsupported operand type,please resolve this problem

unsupported operand type(s) for +: 'int' and 'str' Internal Server Error: /product/t-shirts/ Traceback (most recent call last): File "C:\Python311\Lib\site-packages\django\core\handlers\exception....
Ashish Kumar Thakur's user avatar
0 votes
0 answers
5 views

SSL handshake issue

I have a code that sends api request to an api endpoint, and prints data. It works well in my local machine. But when I deploy it to my ec2, it stucks after sending request to api endpoint. My ec2 is ...
Aman's user avatar
  • 194
0 votes
0 answers
30 views

azure app service headache...cant' deploy app

I'm not even sure where to begin. Been stuck on this for weeks. azure support no help tried deploying my webapp via the az webapp up --runtime PYTHON:3.9 --sku B1 --logs command as per the tutorial. ...
JimmyProton's user avatar
0 votes
0 answers
9 views

Saving an Apache Echart causes tainted canvas error

Saving the chart via the toolbox.feature.saveAsImage causes an error that says Tainted Canvas may not be exported. However, saving the image manually via right-clicking on the chart itself works just ...
A N D E U S's user avatar
0 votes
0 answers
9 views

In Django CI, githubactions try to another database for testing

This configuration refers to portfolio_db when running the server normally, and refers to test_portfolio_db during testing. DATABASES = { "default": { "ENGINE": "...
yoshitaka okada's user avatar
-1 votes
0 answers
9 views

HTML chat form is not stable - Django site

I have a django site which has a chatapp on it. the problem is the chat-content form in the chat app is not stay in the bottom of the chat page and user should send a lot of messages to come down the ...
Abol's user avatar
  • 39
0 votes
0 answers
11 views

How can i create an event after a redirection with htmx?

If I have a code snippet like this:: response = HttpResponse(status=204) response["HX-Redirect"] = request.build_absolute_uri('/perfil/') response['HX-Trigger'] = 'useredited' return ...
Isaac Fritsch's user avatar
0 votes
0 answers
12 views

Django is saving UUID without dashes in MySQL

I'm creating a Django application that uses UUID in some models. While i was using a MySQL database locally django was creating the UUID and saving it without dashes. Everything was working. Now i'm ...
Joao Pedro's user avatar
0 votes
2 answers
35 views

Banner is not displaying at the top and css is not working

I have html like following, in my Django project <!DOCTYPE html> {% load static %} <html lang="en"> <head> <meta charset="UTF-8"> <meta name=&...
Karan's user avatar
  • 784
-2 votes
0 answers
17 views

My project is not recognizing my static files and I am using Django

I have been trying to run my project on the local host But my project is not displaying the template in the normal wayenter image description herethis the error it giving me.pls is there anybody who ...
Fola-rinwa's user avatar
0 votes
1 answer
12 views

Filtered reverse of a one to many relation in Django

I have a model called Item and another called ItemSynonym with a one to many relation like so: from django.db import models from django.conf import settings from project.utils.models import UUIDModel ...
kaan_atakan's user avatar
  • 3,877
0 votes
0 answers
12 views

How to Create a Token Using Django REST Framework?

I am trying to implement token-based authentication in my Django project using Django REST Framework, but I am unsure of the steps required to create and manage tokens. I Installed Django REST ...
bouyal's user avatar
  • 1
0 votes
0 answers
17 views

Jinja tags: Not Loading

labels: [{% for task in task_distribution %}'{{ task.task }}',{% endfor %}], datasets: [{ label: 'Tasks', data: [{% for task in task_distribution %}{{ task....
Dhruva_Teja D R's user avatar
0 votes
1 answer
11 views

Entries not showing on page

Cant seem to figure out why my entries from my database are not appearing on my page but my topics name on the entry page is I'm trying to show show entries from my database on a page, the link to the ...
Dokkaebi's user avatar

15 30 50 per page
1
2 3 4 5
20842