Skip to content

Commit

Permalink
Fix trans template tag error
Browse files Browse the repository at this point in the history
Trans template tag requires `{% load i18n %}` at top of template.
  • Loading branch information
mcastle committed Oct 29, 2015
1 parent a67d231 commit 3c6ce9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rest_framework/templates/rest_framework/admin.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% load staticfiles %}
{% load i18n %}
{% load rest_framework %}
<!DOCTYPE html>
<html>
Expand Down

0 comments on commit 3c6ce9d

Please sign in to comment.