Permalink
Browse files

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

  • Loading branch information...
1 parent 40ddb35 commit 5b51292487304702236f40c7225c75d57c917896 @thekad thekad committed Feb 17, 2012
@@ -30,6 +30,7 @@
'registration',
'sentry',
'socialregistration',
+ 'friendlytagloader',
# Celery and dependencies.
'djcelery',
@@ -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">
@@ -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 %}
@@ -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 %}
@@ -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 %}
@@ -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 %}

0 comments on commit 5b51292

Please sign in to comment.