Skip to main content

All Questions

Tagged with
0 votes
2 answers
30 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
11 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
22 views

How can I troubleshoot Django POST request issues despite correct form handling?

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. Hola, estoy con un problema en django, que cuando apretó ...
Sofia's user avatar
  • 1
-1 votes
0 answers
25 views

How to use <img src ""> in django [duplicate]

I am making a website using django and flowbite tailwind component library i want to add a carousel to my website ` ` in normal websites we use something like <img src="./img.jpg> This is ...
Ayush Singh's user avatar
0 votes
0 answers
69 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
-1 votes
0 answers
22 views

HTML coun'd locate my image when I put the folder into my django app [duplicate]

Before I put the html file inside the template folder follow along with my dijango project, it work perfectly. However, when I build a template folder, and put my CSS and HTML file in, the images are ...
Tony leung 's user avatar
0 votes
1 answer
30 views

The less than sign (<) does not work in my django template

The less than sign (<) does not work in my django template, it either treats it as html or it just does not work even if i try to do something simple like {% if 2<5 %}, the greater than sign ...
Shooq Alzarouni's user avatar
-1 votes
0 answers
35 views

Display just 10 pages for pagination with django [closed]

Im working on a django pagination and its okay but next and previous buttons in django pagination just skip 1 page. I want that django pagination show number 1 to 10 pages for pagination at first and ...
Ram Ram's user avatar
0 votes
1 answer
28 views

How to send user ID through forms

I want to display the information in the profile section after receiving the information from the user But I can't submit the user ID through the forms My Models: class PersonalInformation(models....
mobin's user avatar
  • 27
1 vote
1 answer
54 views

Only first placeholder displayed in Django's UserCreationForm

I'm trying to make a sign-up page with a customized user creation form - add placeholders to the fields. I'm trying to do it this way: forms.py class SignUpForm(UserCreationForm): email = ...
Potion's user avatar
  • 13
1 vote
1 answer
29 views

Upload multiple photos for a product in the store

I am loading a store site with Django. I need to upload 4 photos for one product But I can only upload one photo can you help me? my models in products: class Product(models.Model): Name = models....
mobin's user avatar
  • 27
-1 votes
2 answers
49 views

How to give permissions to users in django.?

I am building a django ERP project, in which there will be multiple user's, admin,user, manager etc. Each of this user has separate user credentials to login. Each user have separate dashboard. I'm ...
vvn's user avatar
  • 11
1 vote
1 answer
25 views

User Profile Update Form Only Showing One User's Data

I'm building an e-commerce website using Django, and I'm having trouble with updating user profiles. I want to display a list of users and provide a way to view and update each user's profile. However,...
Roman Vampire's user avatar
-1 votes
0 answers
28 views

functionality in which same height of all the tr of the table based on the tallest tr of the table using html and css only

i am using playwright package of django for template, i want the same height of the tr should be applied for all the tr of table based on tallest tr. not expecting the tr should reposive its own ...
Shital Nerikar's user avatar
1 vote
1 answer
30 views

Delete Tasks using Django framework

Im currently creating a todo list project using the Django web framework and i currently have an issue with deleting tasks of the webpage. My issue is that i don't know and can't find suitable code to ...
Nikolas Kotsios's user avatar

15 30 50 per page
1
2 3 4 5
810