add license slug (original) (raw)
for the addon submission api license implementation #8514 we need some way for an api client to be able to specify a pre-defined license. We have a license id (the license record pk), and a builtin integer (if >0 used to indicate the license is pre-defined, and to enumerate the choices), but neither is particularly user-friendly. Ideally we'd have a slug, for example mpl2, bsd, cc, etc, for the non-custom licenses.