Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
fix some warning for next django release
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Demah committed Apr 12, 2015
1 parent 123b2e5 commit 5c0944c
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 21 deletions.
4 changes: 4 additions & 0 deletions django_th/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@
# Uncomment the next line to enable the service:
# 'th_twitter', #then do pip install python-twitter
# 'th_readability', #then do pip install readability-api

# Uncomment the next line to enable the feature
# 'th_holidays',
# then do pip install django-th-holidays
)

TEMPLATE_CONTEXT_PROCESSORS = (
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{% load static %}
{% load staticfiles %}
{% load i18n %}
{% load url from future %}
{% load django_th_extras %}
<head>
<meta charset="utf-8">
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}

Expand Down
1 change: 0 additions & 1 deletion django_th/templates/registration/login.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load i18n %}
{% load url from future %}

{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
Expand Down
2 changes: 0 additions & 2 deletions django_th/templates/services/add_service.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Services" %} - {{ user.username }}{% endblock %}
{% block content %}
<div class="col-md-12" id="trigger-content">
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/services/delete_service.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Services" %} - {{ user.username }}{% endblock %}
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/services/services.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Activated Services" %} - {{ user.username }}{% endblock %}
Expand Down
2 changes: 0 additions & 2 deletions django_th/templates/services/thanks_service.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Services" %} - {{ user.username }}{% endblock %}
{% block content %}
<div class="span12" id="trigger-content">
Expand Down
2 changes: 0 additions & 2 deletions django_th/templates/triggers/delete_trigger.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Triggers" %} - {{ user.username }}{% endblock %}
{% block content %}
<div class="col-md-12" id="trigger-content">
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/triggers/edit_description_trigger.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% block title %}{% trans "My Services" %} - {{ user.username }}{% endblock %}
{% block content %}
Expand Down
2 changes: 0 additions & 2 deletions django_th/templates/triggers/thanks_trigger.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% load url from future %}
{% load i18n %}
{% load django_th_extras %}
{% block title %}{% trans "My Trigger" %} - {{ user.username }}{% endblock %}
{% block content %}
<div class="span12" id="trigger-content">
Expand Down
1 change: 0 additions & 1 deletion django_th/templates/triggers/trigger_line.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% load i18n %}
{% load url from future %}
{% load django_th_extras %}
<a class="btn btn-lg btn-info" role="button" href="{% url 'edit_provider' trigger.id %}" title="{{ title }} {{ trigger.provider.name|service_readable|lower }}" ><span class="glyphicon glyphicon-pencil icon-white"></span> {{ trigger.provider.name|service_readable|lower }}</a>

Expand Down
6 changes: 0 additions & 6 deletions django_th/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,4 @@
{'service_name': 'ServiceTwitter', },
name="twitter_callback",
),
url(r"^th/callbackfacebook/$",
"django_th.views.finalcallback",
{'service_name': 'ServiceFacebook', },
name="facebook_callback",
),

)

0 comments on commit 5c0944c

Please sign in to comment.