Register global defaults for the avatar configuration.

Review Request #9590 — Created Feb. 5, 2018 and submitted — Latest diff uploaded

Information

Djblets
release-1.0.x
fd08717...

Reviewers

The avatars registry was registering defaults on the current site
configuration when first populated, but this meant that code couldn't
rely on these defaults until accessing the registry. Now, global
defaults are registered instead, allowing immediate access so long as
the module has been imported.

In the future, we'd want to move this to AppConfig.ready(), but for
now this will suffice.

Unit tests pass.

Verified the default values manually.

    Loading...