Search - User list
Full Version: Signup page does not work - latest DjangoBB and django-registration-0.8 Exception
Root » Bugs » Signup page does not work - latest DjangoBB and django-registration-0.8 Exception
1 2
freeren
Exception Type: TypeError at /forum/account/signup/
Exception Value: register() takes at least 2 non-keyword arguments (1 given)

django-registration-0.7:
def register(request, success_url=None,
form_class=RegistrationForm,
template_name='registration/registration_form.html',
extra_context=None):

django-registration-0.8-alpha-1:
def register(request, backend, success_url=None, form_class=None,
disallowed_url='registration_disallowed',
template_name='registration/registration_form.html',
extra_context=None):
slav0nic
update django-authopenid
freeren
slav0nic
update django-authopenid

latest DjangoBB and
latest django-registration-0.8
latest django-authopenid

Signup page does not work
slav0nic
=\ ok, I thought this mistake they already have fixed
http://bitbucket.org/benoitc/django-authopenid/issue/50/signup-page-does-not-work-whih-django-registration

PS: this is authopenid bug
slav0nic
I did not check this, but you can try change in django-authopenid/urls.py like registration.backends.default.urls.


{ 'backend': 'registration.backends.default.DefaultBackend' }


maybe i will be add this hack while it will not fixed in authopenid.
slav0nic
check last commit pls
freeren
Thank you.

latest DjangoBB
with
latest django-registration-0.8
latest django-authopenid

can not be normal execution.

Because "Django authentification application with openid. Looking for a new maintainer."
The near future may not be maintained.
I will submit a patch, only use django-registration, do not use django-authopenid
freeren
latest DjangoBB with latest django-registration-0.8 patch
slav0nic
i have send message to the developer and hope for the answer
evmyzgin
freeren
Exception Type: TypeError at /forum/account/signup/
Exception Value: register() takes at least 2 non-keyword arguments (1 given)

У меня похожая проблема Данные по ошибке можно посмотерть здесь. [dpaste.com]. Сам не осилил, прошу помощи. Делается форум для благотворительных организаций, естественно делается бесплатно ради помощи детишкам. Буду очень признателен за любую помошь.

Страница /forum/account/signup/ при запуске на хостинге через wsgi визуально работает, и даже после отправки формы сообщает что сообщение для активации ушло на почту. Пользователь новый появляется, но не активный конечно. Сообщение об активации на почту не приходит, и нигде на сервере в логах не появляется, как будто и не отправлялось. Также никаких критичных ошибок не пишет.

При запуске через ./manage.py runserver… страница /forum/account/signup/ вообще не работает и выдает вышеуказанную ошибку.

Спасибо.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB