Skip to content

Image name duplication #11

Closed
Closed
@arusakov

Description

@arusakov

When use default settings every uploaded image have the same name.

IMAGE_NAME is generated one time in django_editorjs_fields/config.py:

IMAGE_NAME = getattr(
    settings, "EDITORJS_IMAGE_NAME", token_urlsafe(8))

I think, that IMAGE_NAME (or something else) must be a callable object. So name can be different at every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions