Django 1.9 compatibility
- Remove deprecated `load ur from future` - Refactor urls.py as list
This commit is contained in:
parent
c3e47ba438
commit
8ee28118fe
10 changed files with 21 additions and 27 deletions
|
@ -1,10 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extrahead %}
|
||||
<!-- CSS and JavaScript for django-todo -->
|
||||
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}todo/css/styles.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'todo/css/styles.css' %}" />
|
||||
|
||||
<script src="{{STATIC_URL}}todo/js/jquery.tablednd_0_5.js" type="text/javascript"></script>
|
||||
<script src="{% static 'todo/js/jquery.tablednd_0_5.js' %}" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
// thedate.x comes from the edit_task view. If this is a new entry,
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "base.html" %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block title %}{{ list_title }} to-do items{% endblock %}
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{% load url from future %}
|
||||
Dear {{ task.assigned_to.first_name }} -
|
||||
|
||||
A new task on the list {{ task.list.name }} has been assigned to you by {{ task.created_by.first_name }} {{ task.created_by.last_name }}:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{% load url from future %}
|
||||
A new task comment has been added.
|
||||
|
||||
Task: {{ task.title }}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "todo/base.html" %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block title %}{{ list_title }} Todo Lists{% endblock %}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "todo/base.html" %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block title %}Search results{% endblock %}
|
||||
{% block body_id %}post_search{% endblock %}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "todo/base.html" %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block title %}Todo List: {{ list.name }}{% endblock %}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% extends "todo/base.html" %}
|
||||
{% load url from future %}
|
||||
|
||||
{% block title %}Task: {{ task.title }}{% endblock %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue