Skip to content

Conversation

@JacobCoffee
Copy link
Member

@JacobCoffee JacobCoffee commented Oct 8, 2025

Description

image which fails loading JS and the title bar is also funky: image
(InteractiveConsole) >>> from django.test import RequestFactory >>> >>> from pydotorg import context_processors >>> >>> factory = RequestFactory() File "<console>", line 1 factory = RequestFactory() IndentationError: unexpected indent >>> factory = RequestFactory() >>> request = factory.get('/this-does-not-exist/') >>> result = context_processors.url_name(request) >>> print(result) {'URL_NAMESPACE': None, 'URL_NAME': None} >>> request = factory.get('/about/') >>> result = context_processors.url_name(request) >>> >>> print(result) {'URL_NAMESPACE': '', 'URL_NAME': 'about'} >>> 

testing locally we get the right context:
image

Closes

@JacobCoffee JacobCoffee requested a review from ewdurbin as a code owner October 8, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants