You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that you ONLY need to do this for Django < 1.9, but this will still work
109
-
without modification (but is unnecessary) for Django >= 1.9.
110
-
111
-
112
63
View Layer
113
64
==========
114
65
@@ -130,7 +81,7 @@ View Layer
130
81
Template Layer
131
82
==============
132
83
133
-
**django-osm-field** shipps with a minimized `jQuery`_ version. To access it in a template use the ``static`` templatetag from the ``staticfiles`` Django app:
84
+
**django-osm-field** shipps with a minimized `jQuery`_ version. To access it in a template use the ``static`` templatetag:
134
85
135
86
.. code-block:: django
136
87
@@ -156,7 +107,7 @@ In the end your template should look similar to this:
156
107
157
108
.. code-block:: django
158
109
159
-
{% load static from staticfiles %}<!DOCTYPE HTML>
110
+
{% load static %}<!DOCTYPE HTML>
160
111
<html>
161
112
<head>
162
113
<title></title>
@@ -174,6 +125,6 @@ In the end your template should look similar to this:
0 commit comments