mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fix trans template tag error
Trans template tag requires `{% load i18n %}` at top of template.
This commit is contained in:
parent
a67d23139c
commit
3c6ce9dfc0
|
@ -1,4 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% load i18n %}
|
||||
{% load rest_framework %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user