Skip to content

FileField #62

@Dagur

Description

@Dagur

I have a FileField

flyer = models.FileField(
        _("Flyer"), upload_to="uploads/flyers", max_length=100, null=True, blank=True
    )

and the type generated looks like this:

flyer?: File | null;

Shouldn't it just be a string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions