• 
      

    Make the upload location of avatars configurable

    Review Request #8841 — Created March 25, 2017 and submitted — Latest diff uploaded

    Information

    Djblets
    release-0.10.x
    45052d2...

    Reviewers

    The upload location of avatars via the FileUploadService is now
    configurable through the UPLOADED_AVATARS_PATH Django setting and the
    get_unique_filename method. If the UPLOADED_AVATARS_PATH setting is
    not set, a default of uploaded/avatars will be used.

    To enable this customizability, AvatarServiceConfigForms are now
    passed the instance of the service that instantiated them as a keyword
    argument. This allows the forms to look up static settings on the
    services.

    Ran unit tests.