Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GITC-80: remove unused templates #9207

Merged
merged 6 commits into from
Jul 6, 2021

Conversation

chibie
Copy link
Contributor

@chibie chibie commented Jun 25, 2021

Description

Remove unused templates based on output from https://github.com/AMeng/django-unused-templates/blob/master/django_unused_templates.py

some extra care taken

  1. dynamically rendered templates were exempted, example

return TemplateResponse(request, f'quadraticlands/mission/{mission_name}/question_{question_num}.html', context)

Refers/Fixes
Testing

@chibie chibie force-pushed the GITC-80--remove-unused-templates branch from 182dd02 to dda94fe Compare June 25, 2021 14:33
@zlsgh
Copy link
Contributor

zlsgh commented Jun 30, 2021

Looks good cleaning up all this! I didn't see anything under "Testing" above. Did you test all the products locally to make sure we aren't accidentally removing something we need?

Copy link

@Lerog1724 Lerog1724 left a comment

Choose a reason for hiding this comment

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

Thank you..

Copy link
Member

@thelostone-mc thelostone-mc left a comment

Choose a reason for hiding this comment

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

manually checked if files were used in codebase. couldn't find reference. LGTM

@thelostone-mc
Copy link
Member

Looks good cleaning up all this! I didn't see anything under "Testing" above. Did you test all the products locally to make sure we aren't accidentally removing something we need?

@zacheryschiller I don't think you'd actually be able to test this. Doing a manual check while reviewing is probably the safest way to review this PT

@thelostone-mc thelostone-mc merged commit e8767ab into master Jul 6, 2021
thelostone-mc added a commit that referenced this pull request Jul 9, 2021
thelostone-mc added a commit that referenced this pull request Jul 9, 2021
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.

4 participants