Skip to content

Conversation

ericholscher
Copy link
Member

Needed for readthedocs/ext-theme#655,
which otherwise I need to override the Allauth views for,
and this seems useful in other places if we want to keep linking it.

Needed for readthedocs/ext-theme#655,
which otherwise I need to override the Allauth views for,
and this seems useful in other places if we want to keep linking it.
@ericholscher ericholscher requested a review from a team as a code owner October 8, 2025 05:19
@ericholscher ericholscher requested a review from stsewd October 8, 2025 05:19
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was sure that we were already passing this somehow.

I found we are using it in https://github.com/readthedocs/ext-theme/blob/main/readthedocsext/theme/templates/projects/partials/project_create_automatic.html#L108 and passing it in the context at https://github.com/readthedocs/readthedocs.org/blob/main/readthedocs/projects/views/private.py#L462

We can remove it from views/private.py now that we are including in the global context.

@ericholscher
Copy link
Member Author

ericholscher commented Oct 9, 2025

@stsewd Do you know if this is used?

context["github_app_name"] = settings.GITHUB_APP_NAME

I don't see it in any templates

@humitos
Copy link
Member

humitos commented Oct 9, 2025

I think it's safe to remove it from there as well. I don't see it anywhere.

@stsewd
Copy link
Member

stsewd commented Oct 9, 2025

Should be safe to remove, yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants