Django

Code

Ticket #1735 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] 404 view should pass the request path into context

Reported by: ubernostrum Assigned to: adrian
Milestone: Component: Core framework
Version: magic-removal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Custom 404 pages are a lot easier if you've got access to the request path.

Attachments

defaults.diff (0.7 kB) - added by ubernostrum on 05/01/06 12:18:17.
Patch to add 'request_path' variable to 404 context

Change History

05/01/06 12:18:17 changed by ubernostrum

  • attachment defaults.diff added.

Patch to add 'request_path' variable to 404 context

05/01/06 12:18:33 changed by ubernostrum

  • version set to magic-removal.
  • summary changed from 404 view should pass the request path into context to [patch] 404 view should pass the request path into context.

05/01/06 18:30:00 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [2804]) magic-removal: Fixed #1735 -- Default 404 view now gets 'request_path' in template context. Thanks, ubernostrum


Add/Change #1735 ([patch] 404 view should pass the request path into context)




Change Properties
Action