Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix trans template tag error on admin#3564

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jpadilla merged 1 commit intoencode:masterfrommcastle:patch-1
Oct 30, 2015

Conversation

@mcastle
Copy link
Contributor

Trans template tag requires{% load i18n %} at top of template.

Trans template tag requires `{% load i18n %}` at top of template.
@mcastlemcastle changed the titleFix trans template tag errorFix trans template tag error on adminOct 29, 2015
@jpadilla
Copy link
Contributor

@mcastle thanks! What's the error that not having this raises?

@mcastle
Copy link
ContributorAuthor

No prob and thanks for another great release! The error, caused by{% trans "Filters" %} at line 117, is:

TemplateSyntaxError ...Invalid block tag: 'trans', expected 'elif', 'else' or 'endif'

@jpadillajpadilla added this to the3.3.1 Release milestoneOct 30, 2015
jpadilla added a commit that referenced this pull requestOct 30, 2015
Fix trans template tag error on admin
@jpadillajpadilla merged commit08e4a98 intoencode:masterOct 30, 2015
@xordoquyxordoquy mentioned this pull requestNov 2, 2015
nikolas added a commit to ccnmtl/brownfield_django that referenced this pull requestFeb 10, 2016
Should fix this error in rolf:site-packages/rest_framework/templates/rest_framework/admin.html:Invalid block tag: 'trans', expected 'elif', 'else' or 'endif'https://rolf.ccnmtl.columbia.edu/push/24072/encode/django-rest-framework#3564
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

3.3.1 Release

Development

Successfully merging this pull request may close these issues.

2 participants

@mcastle@jpadilla

[8]ページ先頭

©2009-2025 Movatter.jp