From: Radek Czajka Date: Fri, 16 Mar 2012 15:59:49 +0000 (+0100) Subject: register forms with 3rd party X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/7605d3596bad00cbb815454faac690c6b06808f2?ds=inline;hp=-c register forms with 3rd party --- 7605d3596bad00cbb815454faac690c6b06808f2 diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index f733d105b..5704f43c2 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -327,7 +327,7 @@ ALL_PDF_ZIP = 'wolnelektury_pl_pdf' ALL_MOBI_ZIP = 'wolnelektury_pl_mobi' CATALOGUE_DEFAULT_LANGUAGE = 'pol' -PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/' +PUBLISH_PLAN_FEED = 'http://redakcja.wolnelektury.pl/documents/track/editor-proofreading/?published=false' PAGINATION_INVALID_PAGE_RAISES_404 = True diff --git a/wolnelektury/templates/auth/login.html b/wolnelektury/templates/auth/login.html index caa0aea2c..7fbd570c0 100644 --- a/wolnelektury/templates/auth/login.html +++ b/wolnelektury/templates/auth/login.html @@ -18,3 +18,6 @@ {% include "socialaccount/snippets/login_extra.html" %} + +{% block extra %} +{% endblock %} diff --git a/wolnelektury/templates/auth/register.html b/wolnelektury/templates/auth/register.html new file mode 100644 index 000000000..9d2c28363 --- /dev/null +++ b/wolnelektury/templates/auth/register.html @@ -0,0 +1,15 @@ +{% extends "ajaxable/form.html" %} +{% load i18n %} + + +{% block extra %} + +

{% trans "Sign in using:" %}

+ + + +{% include "socialaccount/snippets/login_extra.html" %} + +{% endblock %} diff --git a/wolnelektury/views.py b/wolnelektury/views.py index ee78859b2..37df778cd 100755 --- a/wolnelektury/views.py +++ b/wolnelektury/views.py @@ -47,6 +47,7 @@ class LoginFormView(AjaxableFormView): class RegisterFormView(AjaxableFormView): form_class = UserCreationForm + template = "auth/register.html" placeholdize = True title = _('Register') submit = _('Register')