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

All Questions

Tagged with
0 votes
0 answers
41 views

Problem in deploying django app using plesk

I am trying to deploy my django app and i am using plesk as a host. But i have 2 problems In order to reach the website instead of typing mydomain/login i have to type mydomain/templates/login.html ...
Diana Sk's user avatar
0 votes
0 answers
25 views

django strange behavior with url with slug and /

I am encountering a strange django behavior that I don't see where it could go wrong. I have the start of an app that returns dynamic pages whose url is created through the slug. Everything works well....
didfordad's user avatar
0 votes
1 answer
38 views

'payments' is not a registered namespace

I think I did a good job mapping the URL, so please check it out from django.urls import path from . import views app_name = 'payments' urlpatterns = [ path('request/<int:order_id>/', ...
haenshi's user avatar
  • 13
0 votes
2 answers
66 views

Django not recognizing app’s url and views. It keeps raising a 404 `Response`

Hi I am trying to create my first Django project and having issues getting an app to work inside my Django project. I simply am trying to map the url code 8000/home1/hello/ to display the basic text &...
Justin543543's user avatar
-1 votes
2 answers
65 views

can't find the page URL

I got the same error while writing code. I started making this project using a video tutorial on YouTube. I think the problem is in the URLConf but I can’t find this problem myself. Essentially the ...
Игорь.К FK's user avatar
0 votes
0 answers
9 views

Page not found Using the URLconf defined in kirillof.urls, Django tried these URL patterns, in this order:

I'm new to Django. I tried to create my first project using a video tutorial from YouTube. When I run my project on the server, it works but the delete my message button does not work when I run the ...
Игорь.К FK's user avatar
0 votes
2 answers
55 views

KeyError error at /registration/register/ 'email'

I have a problem. When clicking on the link http://127.0.0.1:8000/accounts/register / returns the KeyError error at /accounts/register/ 'email'. I program in django in pycharm. I want to point out ...
user24993423's user avatar
0 votes
1 answer
60 views

error in django 404 Page not found (404) Request Method: GET

When clicking on this link: http://127.0.0.1:8000/accounts/register it gives a 404 error, I do not know what to do with it Here is the code: registration/urls.py: from django.contrib.auth import views ...
user24993423's user avatar
0 votes
0 answers
16 views

There is a problem with the booking, does not go to booking_confirmation

I have a form in my app and when i submit it, everything goes correct but it only goes to .../bookings and not .../bookings/booking_conifrmation.html. Here are the views.py and urls.py views.py from ...
Erik's user avatar
  • 1
0 votes
0 answers
40 views

Why does my Django URL parameter result in an error?

I am a Django noob and this is my first post in stackoverflow. I need help in fixing my code. It was working well previously until I got an error regarding URL parameters as I tried adding an image ...
Brian Ibale's user avatar
0 votes
0 answers
25 views

Django URL 404 - 1 week spent debugging with GPT4, Claude luck. One specific function is just NOT resolving

Issue Summary: I'm facing an issue where the /LS/mark-text-responses/ URL in my Django application is not being found when an AJAX request is sent to the mark_text_responses view. This issue is ...
Sam N's user avatar
  • 1
0 votes
2 answers
47 views

I don't understand why the Django built in 'Reverse' function is not working [duplicate]

I am trying to learn Django in python, when today, I stumbled upon this error: "NoReverseMatch at /downloader/ Reverse for 'login' not found. 'login' is not a valid view function or pattern name.&...
Just Verhagen's user avatar
0 votes
0 answers
25 views

RESTful API (Django) best practices for admin and normal user access

hello i am working on mobile app that is show for the users to invest on properties and my question is when i implement the APis for the normal user and the admin am i need to make separate APIs for ...
Moustafa Khalil's user avatar
0 votes
0 answers
12 views

Django some URLs 301ing to home on Production only (NGINX, GUnicorn)

In production, some of my URLs work, some dont and redirect to home / the main site URL. So, I have a site up and running in Production. I use a NGINX load balancer with 3 x NGINX reverse proxy with ...
Timothy Giles's user avatar
0 votes
0 answers
21 views

why i cannot login with new registered users in django while i can login with previous users

In Django, I create a user, then click the activation link to activate the account, after it is activated, I cannot login, I get DoesNotExist at / error class VerificationView(View): def get(self, ...
Mukhammadkodir's user avatar

15 30 50 per page
1
2 3 4 5
122