Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-3 votes
1 answer
33 views

Invalid block tag on line 1: 'include'. Did you forget to register or load this tag? [closed]

During a Django tutorial I've got an issue with the index.html file. I can't handle this exception: Invalid block tag on line 3: 'include'. Did you forget to register or load this tag? I really don'...
tapok's user avatar
  • 1
-2 votes
0 answers
36 views

An error occurred (BadDigest) when calling the PutObject operation (reached max retries: 4): The Content-MD5 you specified did not match

I am trying to retrieve an image via Javascript function that calls a function from my views that has the image. I need help with populating the image: Views: def customer_logos(request): print(...
Doing Things Occasionally's user avatar
0 votes
1 answer
29 views

page-break not working on headings ( python, weasyprint )

I want to create a pdf out of html content. I use beautifulsoup to get html string and then create PDF using weasyprint and python out of it. I have issue when i want to show headings ( specifically ...
Puzzleshock's user avatar
-1 votes
0 answers
24 views

Template Rendering Issue [closed]

I have done Url shortner using django in Python. I am unable to render the template and getting the error as shown: ) I have tried some methods and tried ChatGPT, somehow I didn't meet with the answer ...
Havish's user avatar
  • 1
0 votes
1 answer
32 views

Using Django REST Framework to make site cross-platform [closed]

I want to create cross platform site in Django, which can work with other clients, like my own c++ apps. Imagine someone creating social media in which you can post videos and articles. What I want is ...
user26482297's user avatar
0 votes
1 answer
40 views

Display data into modal form through django

I am very much new to django. I am trying to display the details of a student record in a modal form once details button clicked. But it is showing an empty modal form. Below is the code snippet. ...
Suman Ghosh's user avatar
  • 1,449
-1 votes
0 answers
14 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
2 answers
47 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
  • 794
0 votes
1 answer
45 views

How to make every post equal in size when responding to screen size

Inside the post div, there will be multiple post rows. Each row contains maximum 4 posts. So when there are 5 posts there comes the problem with responsiveness. First 4 posts (first row) will respond ...
Benet Paul Benny's user avatar
0 votes
2 answers
40 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
0 votes
0 answers
22 views

How to show/hide a button by comparing if logged by asset owner check database privilege asset owner whether add asset value is 'on' or 'off'

My asset_list html is like this {% if user_role == 'admin' %} {% include 'asset_mng/admin_sidebar.html' %} {% elif user_role == 'asset_owner' %} {% include 'asset_mng/...
Bruce_Wayne's user avatar
0 votes
2 answers
41 views

How to add a template using {% include %} tag, by comparing which user is logged in, on django?

My asset_list html is like this <div class="right"> <div class="search-container"> <input type="text" id="searchInput" ...
Bruce_Wayne's user avatar
0 votes
0 answers
21 views

Difficulty adding page numbers to printed table using Paged.js without content overflow

I have a table with numerous elements in its , and I'm attempting to add page numbers to each printed page using Paged.js. However, I'm encountering issues where the table content overflows the page ...
Huzaifa Ashfaque's user avatar
0 votes
0 answers
33 views

Form running GET request instead of POST in Django app

I'm having an issue in Django where when I click save on a form, it sends a GET request instead of a POST. I'm not sure why this is happening, and I've searched about handling forms and POST methods, ...
Sofia's user avatar
  • 1
0 votes
0 answers
72 views

How do i enable user to login with new password after reseting it

I am trying to create a password reset system in django. So the issue is that I'm trying to login my user after resetting the password but the system throws an Invalid credentials error. I used a ...
Sir Keith's user avatar

15 30 50 per page
1
2 3 4 5
809