Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image model with upload function #825

Closed
Tracked by #797
BeritJanssen opened this issue Mar 5, 2024 · 0 comments · Fixed by #836
Closed
Tracked by #797

Add image model with upload function #825

BeritJanssen opened this issue Mar 5, 2024 · 0 comments · Fixed by #836
Assignees

Comments

@BeritJanssen
Copy link
Collaborator

BeritJanssen commented Mar 5, 2024

Requirements

  • In Django, add a model with the following properties:
    • src (FileUpload field, I assume)
    • alt (text input)
    • href (url/link input)
    • rel (text input or multi select with the official rel values)
    • target (select with options null/None or _blank. we could add more options but probably not necessary. see also the target attribute docs)
    • tag (or tags, perhaps separated by commas/colons)

Context (goal behind goal)

This image model will (eventually) be used for several features in the nearby future such as:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants