All Questions
12,128
questions
-1
votes
0
answers
11
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 ...
0
votes
2
answers
37
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=&...
0
votes
1
answer
41
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 ...
0
votes
2
answers
37
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
...
0
votes
0
answers
21
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/...
0
votes
2
answers
38
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" ...
0
votes
0
answers
18
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 ...
0
votes
0
answers
31
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, ...
0
votes
0
answers
71
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 ...
-1
votes
0
answers
26
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 ...
0
votes
1
answer
32
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 ...
-1
votes
0
answers
37
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 ...
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....
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 = ...
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....