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

implement license slugs #18437

Merged
merged 4 commits into from Dec 6, 2021
Merged

Conversation

eviljeff
Copy link
Member

@eviljeff eviljeff commented Dec 1, 2021

fixes mozilla/addons#8597 with some bonus refactoring to define all the built-in licenses in constants (which would be needed for mozilla/addons#1853 anyway).

I thought about making license accept a pk or a slug but I don't really see the use-case now the slugs are documented and also exposed in the api responses (I could be persuaded otherwise)

@eviljeff eviljeff requested review from a team and diox and removed request for a team December 1, 2021 16:49
@eviljeff eviljeff merged commit 87a097c into mozilla:master Dec 6, 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
2 participants