Skip to content

Multiple static paths / serve MEDIA_URL from MEDIA_ROOT (Django) #747

@muety

Description

@muety

For my Django application, I'm currently using GRANIAN_STATIC_PATH_ROUTE and GRANIAN_STATIC_PATH_MOUNT to serve static assets from STATIC_ROOT as STATIC_URL. However, there is MEDIA_ROOT and MEDIA_URL to be served as well, so I'd need Granian to accept a list of static folders and according paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions