mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-17 03:51:03 +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 staticfiles %}
|
||||||
|
{% load i18n %}
|
||||||
{% load rest_framework %}
|
{% load rest_framework %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user