Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd491ae

Browse files
committed
Update templates: load static
1 parent 86f431d commit dd491ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crudbuilder/templates/crudbuilder/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
{% block title %}{% endblock %}
1313

14-
{% load staticfiles %}
14+
{% load static %}
1515
<script src="{% static 'crudbuilder/js/jquery-1.11.3.js' %}"></script>
1616
<!-- Bootstrap core CSS -->
1717
<link rel="stylesheet" type="text/css" href="{% static 'crudbuilder/css/bootstrap.min.css' %}">

crudbuilder/templates/crudbuilder/inline/create.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% extends "crudbuilder/base.html" %}
2-
{% load staticfiles crudbuilder %}
2+
{% load static crudbuilder %}
33

44
{% block breadcrumb %}
55
<ul class="breadcrumb">
@@ -70,4 +70,4 @@ <h3>{{inlineformset.prefix|title}}</h3>
7070
<input type="submit" value="Submit" class='btn btn-success'/>
7171
</form>
7272

73-
{% endblock %}
73+
{% endblock %}

0 commit comments

Comments
 (0)