used 'static' instead of staticfiles

This commit is contained in:
Asif Saifuddin Auvi 2017-03-09 23:49:25 +06:00
parent 544b4b9948
commit baea6ccd83
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{% load staticfiles %} {% load static %}
{% load i18n %} {% load i18n %}
{% load rest_framework %} {% load rest_framework %}

View File

@ -1,4 +1,4 @@
{% load staticfiles %} {% load static %}
{% load i18n %} {% load i18n %}
{% load rest_framework %} {% load rest_framework %}

View File

@ -1,4 +1,4 @@
{% load staticfiles %} {% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>

View File

@ -1,5 +1,5 @@
{% load rest_framework %} {% load rest_framework %}
{% load staticfiles %} {% load static %}
<pre class="highlight javascript hide" data-language="javascript"><code>{% code html %}<!-- Load the JavaScript client library --> <pre class="highlight javascript hide" data-language="javascript"><code>{% code html %}<!-- Load the JavaScript client library -->
<script src="{% static 'rest_framework/js/coreapi-0.0.20.js' %}"></script> <script src="{% static 'rest_framework/js/coreapi-0.0.20.js' %}"></script>
<script src="{% url 'api-docs:schema-js' %}"></script>{% endcode %}</code></pre> <script src="{% url 'api-docs:schema-js' %}"></script>{% endcode %}</code></pre>

View File

@ -1,5 +1,5 @@
{% extends "rest_framework/base.html" %} {% extends "rest_framework/base.html" %}
{% load staticfiles %} {% load static %}
{% load rest_framework %} {% load rest_framework %}
{% block body %} {% block body %}