Refactor: remove AgencySlug#3505
Merged
angela-tran merged 4 commits intochore/agency-short-namefrom Feb 19, 2026
Merged
Conversation
|
This PR adds a Django migration without updating any fixtures. Is a corresponding fixture update needed? |
a3aef00 to
5d376bb
Compare
remove unneeded AgencySlug class
this started failing due to the unique constraint being introduced on TransitAgency.slug, and looking over the test, there isn't actually a need to create a new TransitAgency.
at one point these tests may have needed a new instance, but reading over them now, it seems fine to use the original fixture instance.
2013844 to
9ed5756
Compare
Member
Author
No fixture update needed. |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||
Member
Author
|
I'll mark this as ready to review whenever #3472 is reviewed/merged into |
Member
Author
Thanks! That's fine with me too. I'll go ahead and open this up for review. |
thekaveman
approved these changes
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #3498
Waiting for
#3481 and#3472With the simplification achieved by #3493, #3495, #3472, and #3481, we can remove
AgencySlugand no longer need to do a code change to add a new agency to the app.