diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-02 15:58:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 11:16:13 +0000 |
commit | 81ebce07788cd4c5f53cb6ad7b51ee3d6e52c881 (patch) | |
tree | 29e15f3b83c691893c44aad8e83aa05254dbc644 /bitbake/lib/toaster/bldviewer/templates/build.html | |
parent | 5ab8545c4f43af1b30a230c290fbb00ebbe14ed4 (diff) | |
download | poky-81ebce07788cd4c5f53cb6ad7b51ee3d6e52c881.tar.gz |
bitbake: toaster: update to Django 1.5
In order to remain up to date with the relevant technologies,
Toaster is updated with this patch to Django 1.5. This also
makes headways to allow usage of emerging
Django-related technologies.
Changes include the startup script Django version check, usage
of TemplateView instead of deprecated simple function to do
redirects, and update to the new form of the _url_ template tag.
Support for Django 1.4.5 is now deprecated.
[YOCTO #5558]
(Bitbake rev: 2d37a1731a2b681bc976f3f391d65abb7745b6f9)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/build.html')
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/build.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/build.html b/bitbake/lib/toaster/bldviewer/templates/build.html index 5f623504d5..5653cca357 100644 --- a/bitbake/lib/toaster/bldviewer/templates/build.html +++ b/bitbake/lib/toaster/bldviewer/templates/build.html | |||
@@ -23,10 +23,10 @@ | |||
23 | </tr> | 23 | </tr> |
24 | {% for build in builds %} | 24 | {% for build in builds %} |
25 | <tr class="data"> | 25 | <tr class="data"> |
26 | <td><a href="{% url configuration build.id %}">{{build.get_outcome_display}}</a></td> | 26 | <td><a href="{% url "configuration" build.id %}">{{build.get_outcome_display}}</a></td> |
27 | <td>{{build.started_on}}</td> | 27 | <td>{{build.started_on}}</td> |
28 | <td>{{build.completed_on}}</td> | 28 | <td>{{build.completed_on}}</td> |
29 | <td>{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url tpackage build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td> | 29 | <td>{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url "tpackage" build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td> |
30 | <td>{{build.machine}}</td> | 30 | <td>{{build.machine}}</td> |
31 | <td>{% time_difference build.started_on build.completed_on %}</td> | 31 | <td>{% time_difference build.started_on build.completed_on %}</td> |
32 | <td>{{build.errors_no}}:{% if build.errors_no %}{% for error in logs %}{% if error.build == build %}{% if error.level == 2 %}<p>{{error.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td> | 32 | <td>{{build.errors_no}}:{% if build.errors_no %}{% for error in logs %}{% if error.build == build %}{% if error.level == 2 %}<p>{{error.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td> |