Register global defaults for the avatar configuration.

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

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.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (77c0ba8), release-1.0.x (51e3999)
Loading...