Skip to main content

All Questions

1 vote
1 answer
59 views

Django not loading image files with static

I have been working with Django and it isn't loading any image files but it is loading my CSS files in the same directory area. HTML page <!DOCTYPE html> <html lang="en"> {% load ...
Dinosaur's user avatar
0 votes
2 answers
91 views

Cart in Django is not updating in frontend but working fine in database

I'm making an ecom site. When customer select Product size from dropdown boxes, it sends the correct selected size in backend but showing default value in frontend. My HTML code for this: <select ...
Azmain1234's user avatar
-2 votes
2 answers
53 views

how do i set django up? and fix this error?

127.0.0.1/:1 Refused to execute script from 'http://127.0.0.1:8000/scripts/scripts.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. error i got... ...
Yajath Krishna's user avatar
1 vote
2 answers
79 views

Django `Not Found: /payment_getway/` Error - URL Path Not Resolving

I’m encountering a Not Found: /payment_getway/ error in my Django application. Despite setting up the URL path and view function, Django cannot find the specified URL. I’ve provided all relevant code ...
user avatar
0 votes
2 answers
54 views

How to resolve this NoReverseMatch error?

I am currently try make a task manager such that there are folders which have tasks in them, I have been stuck on this problem for hours now and am not sure at all what is the issue this is urls.py ...
Srivatsava Dhanala's user avatar
2 votes
1 answer
138 views

Django audio file not playing

Issue with Django and HTML5 Tag: Unable to Play Uploaded Audio Files Repo: https://github.com/desboisGIT/TestSite I'm encountering an issue with playing audio files uploaded through my Django ...
desboisrob's user avatar
0 votes
0 answers
43 views

TemplateSyntaxError at /display/displaymyoperations/ Could not parse the remainder: '(url)' from 'unquote(url)'

I am getting the following error when I want to show the operations that a user makes: TemplateSyntaxError at /display/displaymyoperations/ Could not parse the remainder: '(url)' from 'unquote(url)' ...
mohamed sadik's user avatar
0 votes
1 answer
63 views

How to take data from HTML Inputs and use them in a form?

I am trying to get the user's login and password from the HTML template and use these inputs for processing. I want to use the inputs from the HTML template and not the usual Django forms, like: <...
Serg's user avatar
  • 1
1 vote
1 answer
29 views

'pages' is not a registered namespace

Trying to load a index in this ambient: ├── admin_material │   ├── admin.py │   ├── apps.py │   ├── forms.py │   ├── __init__.py │   ├── models.py │   ├── __pycache__ │   │   ├── admin.cpython-311.pyc ...
Bolofo's user avatar
  • 23
0 votes
1 answer
66 views

How to use variable to iterate in django template?

I'm using python and django and I would like to use a variable I entered in a previous input, to iterate over creating multiple other input fields. This is the part in the Django template where I ask ...
Greg Degoeiegast's user avatar
3 votes
2 answers
49 views

display information using django tags

I am writing a site on Django, the purpose of this site is to create a test to assess students' knowledge I need help with outputting options for answers to a question I keep the questions in a list ...
Oleh's user avatar
  • 33
0 votes
1 answer
79 views

Embedded link displays when hardcoded but not when passed as variable

I have the following problem in my django project when trying to display an embedded google maps link in my page. This works (renders the Google Maps iframe with a populated map) when I hardcode the ...
Oom_Ben's user avatar
  • 115
0 votes
1 answer
19 views

TemplateSyntaxError at /taskapp/taskapp-board/ Could not parse the remainder: '(status='new')' from 'tasks.filter(status='new')'

i got an error called "TemplateSyntaxError", i created a project that handle tasks in this app i create task-board.html page that handle user's task i create 3 section for it 1 section add ...
Tejas Falke's user avatar
0 votes
1 answer
49 views

Displaying image uploaded via Django FileField()

I have a Django model for coaching programs in my site, I want to be able to upload a thumbnail image for every program. I used FileField() for that and set the "upload_to=" to the static ...
Player Kay64's user avatar
0 votes
0 answers
35 views

Reverse for 'create_submission_form' with keyword arguments '{'docstash_key': ''}' not found

- this is the error: NoReverseMatch at /dashboard/ Reverse for 'create_submission_form' with keyword arguments '{'docstash_key': ''}' not found. 1 pattern(s) tried: ['core/submission/new/(?P<...
Georges's user avatar

15 30 50 per page
1
2 3 4 5
34