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

Fixed: Refactor Django template to avoid method calls and set placeholders consistently #1365

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

drikusroor
Copy link
Contributor

@drikusroor drikusroor commented Nov 14, 2024

Consistently set placeholders to "" and refrain from calling methods directly in the Django template. Django does not allow you to call methods in templates. Originally, the placeholder attribute was only set to "" when there was no song / artist name. I think it's better to just always set it. It will appear only whenever there is no value anyway.

Resolves #1327

@drikusroor drikusroor self-assigned this Nov 14, 2024
@drikusroor drikusroor merged commit b15fd10 into develop Nov 15, 2024
7 checks passed
@drikusroor drikusroor deleted the fix/edit-sections branch November 15, 2024 15:39
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 this pull request may close these issues.

🐛 [BUG] - Cannot edit sections
2 participants