We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The str method on the Attachment model is not getting interpolated is returning a literal {username} attached {filename}
Attachment
{username} attached {filename}
This model method:
def __str__(self): return _('{username} attached {filename}') % { 'username': self.creator.get_username(), 'filename': self.attachment_file.name }
The text was updated successfully, but these errors were encountered:
should be good, please try it again.
Sorry, something went wrong.
Oh, I was working on it as well. You might want to add the test from my PR #48 it tests that str method.
Thanks for getting on that so quickly by the way. You're awesome!
No branches or pull requests
The str method on the
Attachment
model is not getting interpolated is returning a literal{username} attached {filename}
This model method:
The text was updated successfully, but these errors were encountered: