Upgrade django-allauth.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 19 Feb 2014 12:08:27 +0000 (13:08 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 19 Feb 2014 12:08:27 +0000 (13:08 +0100)
apps/wolnelektury_core/static/scss/main/auth.scss
apps/wolnelektury_core/templates/socialaccount/connections.html
apps/wolnelektury_core/templates/socialaccount/snippets/login_extra.html [new file with mode: 0644]
requirements.txt

index 03cf615..793afe4 100755 (executable)
@@ -29,6 +29,9 @@
     &.google {
         background-image: url(/static/img/auth/google.png);
     }
+    &.facebook {
+        background-image: url(/static/img/auth/facebook.png);
+    }
 }
 
 
index 9896b09..3df16a8 100644 (file)
@@ -47,7 +47,7 @@
 <h2>{% trans 'Add a 3rd Party Account' %}</h2>
 
 <ul class="socialaccount_providers">
-{% include "socialaccount/snippets/provider_list.html" %}
+{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
diff --git a/apps/wolnelektury_core/templates/socialaccount/snippets/login_extra.html b/apps/wolnelektury_core/templates/socialaccount/snippets/login_extra.html
new file mode 100644 (file)
index 0000000..ae06792
--- /dev/null
@@ -0,0 +1 @@
+{# This file intentionally left empty to disable loading FB JS. #}
index 4c96c93..f630b15 100644 (file)
@@ -12,9 +12,7 @@ django-piston>=0.2.2.1,<0.2.3
 jsonfield>=0.9.20
 django-picklefield
 django-modeltranslation
-
-#django-allauth<0.10 with migration fix
--e git+git://github.com/rczajka/django-allauth.git@4ecda71b81f9311dea4febe1d2d0105f23c642c7#egg=django-allauth
+django-allauth>=0.15,<0.16
 
 pytz