Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

We need django-friendly-tag-loader for this one to work

  • Loading branch information...
commit 5b51292487304702236f40c7225c75d57c917896 1 parent 40ddb35
@thekad thekad authored
View
1  pykeg/src/pykeg/settings.py
@@ -30,6 +30,7 @@
'registration',
'sentry',
'socialregistration',
+ 'friendlytagloader',
# Celery and dependencies.
'djcelery',
View
3  pykeg/src/pykeg/web/templates/base.html
@@ -1,6 +1,7 @@
{% load kegweblib %}
{% load humanize %}
-{% if USE_FACEBOOK %}{% load facebook_tags %}{% endif %}
+{% load friendly_loader %}
+{% if USE_FACEBOOK %}{% friendly_load facebook_tags %}{% endif %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
View
3  pykeg/src/pykeg/web/templates/contrib/facebook/link.html
@@ -1,6 +1,7 @@
{% extends "page-twocol.html" %}
{% load kegweblib %}
-{% load facebook_tags %}
+{% load friendly_loader %}
+{% friendly_load facebook_tags %}
{% block kb-extrajs %}
{% facebook_js %}
{% endblock %}
View
3  pykeg/src/pykeg/web/templates/contrib/facebook/settings.html
@@ -1,6 +1,7 @@
{% extends "account/base.html" %}
{% load kegweblib %}
-{% load facebook_tags %}
+{% load friendly_loader %}
+{% friendly_load facebook_tags %}
{% block kb-extrajs %}
{% if USE_FACEBOOK %}
View
3  pykeg/src/pykeg/web/templates/contrib/facebook/status-update.html
@@ -1,6 +1,7 @@
{% extends "page-twocol.html" %}
{% load kegweblib %}
-{% if USE_FACEBOOK %}{% load facebook_tags %}{% endif %}
+{% load friendly_loader %}
+{% if USE_FACEBOOK %}{% friendly_load facebook_tags %}{% endif %}
{% block title %}your account: {{user.username}}{% endblock %}
View
3  pykeg/src/pykeg/web/templates/registration/login.html
@@ -1,11 +1,12 @@
{% extends "page-twocol.html" %}
{% load kegweblib %}
+{% load friendly_loader %}
{% block title %}login{% endblock %}
{% block kb-extrajs %}
{% if USE_FACEBOOK %}
- {% load facebook_tags %}
+ {% friendly_load facebook_tags %}
{% facebook_js %}
{% endif %}
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.