DjangoBB

Django based forum engine

  • You are not logged in.
  • Root
  • » Bugs
  • » Signup page does not work - latest DjangoBB and django-registration-0.8 Exception [RSS Feed]

#1 Feb. 1, 2010 10:48:07

freeren
Registered: 2010-02-01
Posts: 4
Reputation: +  0  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

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):

Offline

#2 Feb. 1, 2010 20:53:52

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

update django-authopenid

Offline

#3 Feb. 2, 2010 04:56:34

freeren
Registered: 2010-02-01
Posts: 4
Reputation: +  0  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

slav0nic
update django-authopenid

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

Signup page does not work

Offline

#4 Feb. 2, 2010 10:03:53

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

=\ 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

Edited (Feb. 2, 2010 10:04:16)

Offline

#5 Feb. 2, 2010 10:17:22

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

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.

Offline

#6 Feb. 2, 2010 10:53:47

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

check last commit pls

Offline

#7 Feb. 3, 2010 07:02:51

freeren
Registered: 2010-02-01
Posts: 4
Reputation: +  0  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

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

Offline

#8 Feb. 3, 2010 09:15:46

freeren
Registered: 2010-02-01
Posts: 4
Reputation: +  0  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

latest DjangoBB with latest django-registration-0.8 patch

Attachments:
attachment django-djangobb.patch (27.3 KB)

Offline

#9 Feb. 3, 2010 12:38:11

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 307
Reputation: +  6  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

i have send message to the developer and hope for the answer

Offline

#10 Sept. 2, 2011 11:50:06

evmyzgin
Registered: 2011-09-02
Posts: 1
Reputation: +  0  -
Profile   Send e-mail  

Signup page does not work - latest DjangoBB and django-registration-0.8 Exception

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/ вообще не работает и выдает вышеуказанную ошибку.

Спасибо.

Offline

  • Root
  • » Bugs
  • » Signup page does not work - latest DjangoBB and django-registration-0.8 Exception [RSS Feed]

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version