#35579: Run the development server (python manage.py runserver) creating
http://127.0.0.1:8000/login/ in your browser.
-------------------------------+--------------------------------------
Reporter: clay richmond | Owner: (none)
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Natalia Bidart):
* resolution: => invalid
* status: new => closed
Comment:
Hello Clay, thanks for your report. If I understand your description
correctly, you are saying that:
1. You have a Django project that does not define nor implement login in
any way, and
2. You are running the development server, and
3. You are accessing an URL that your project does not implement
('/login/') and you get a 404
If the above is correct, then this is the expected behavior. Django will
respond with a 404 for URLs that your project does not implement.
When you say:
> Django should not generate a "Page not found" error for "/login/" as the
project doesn't have a login URL pattern defined.
What do you expect to happen instead?
With the information provided so far, I think this report seems better
suited to be a support request. The best place to get answers to your
issue is using any of the user support channels from
[https://docs.djangoproject.com/en/dev/faq/help/#how-do-i-do-x-why-
doesn-t-y-work-where-can-i-go-to-get-help this link].
Since the goal of this issue tracker is to track issues about Django
itself, and your issue seems, at first, to be located in your custom code,
I'll be closing this ticket as invalid following the
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/#closing-tickets ticket triaging process].
--
Ticket URL: <https://code.djangoproject.com/ticket/35579#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107019084132ed1-6b66bf2b-cad1-44c3-93c2-3b25069f1f88-000000%40eu-central-1.amazonses.com.