I have a site that needs some custom styles in Django and I can't get the static file to load. I have a static folder inside my main folder - The one where mana
I'm trying to add user Profile in my django project. i was trying to access user post into the user Profile but its throws an error like this: Reverse for 'Pro
So basically I'm trying to do a simple login system using Django AuthenticationForm and LoginView. The form takes the user input and when the login button is pr
Code: {% if request.session.message %} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <i class="bi bi-check2-circle">
output: 'static' in the STATICFILES_DIRS setting does not exist. I've tried os.path.join(BASE_DIR, '/static'), but it is doesn't work. I didn't have this probl
I have a django project where I have kept all the static files in a project level static directory. I have included STATIC_URL = "/static/" STATIC_ROOT = os.pat
Please help me out. I don't get any errors in my css file or in finding it, but still the style i would like is not shown. my css file body { background-color
I have created a file upload website where I want to allow users to upload files in pdf, ppt, doc, txt, and zip format. I am using the HTML form to upload files
I have index.html file in template file and I have js, css, image, files in my static file. I am writing the codes correctly, but the site does not appear prope
This is the error I am facing Not Found: /assets/vendor/venobox/venobox.css Not Found: /assets/vendor/boxicons/css/boxicons.min.css Not Found: /assets/vendor/ow
i have relation between Project and ProjectFloorPlan, and i want to display ProjectFloorPlan data in my template. Please let me know how i can display the Forei
i have relation between Project and ProjectFloorPlan, and i want to display ProjectFloorPlan data in my template. Please let me know how i can display the Forei
I am new to frontend development. Normally I do backend and infra. During the daytime I heard from the frontend-angular guys talking on datepicker widget a lot.
I am trying to handle ProtectedError exception and try to post a custom error message in my template. def delete(self, request, *args, **kwargs): obj = sel
I cannot get an image to load in Django by following the documentation. I have the following directory structure: And here is a snippet of my code within backe
First of all, I will like to say this is my first question here! (pardon me if this is redundant or duplicated) I am having some problems with calling JS script
I want to serve all types of media files in my Django Project I used Whitenoise to server static files and static files are working well but I'm having issues w
What I want to accomplish is to be able to submit multiple forms contained on one page. What I have currenlty done is supplied a view that returns 8 forms. Is i
I have a problem with django forms, when submitting a form nothing seems to happen, even the server didn't get any response except GET request to view the form
I think this should be a fairly straightforward question . . . I have ONE Django form with TWO different submit buttons. The first submit button is just for SAV