What's the URL of the page containing the problem?
/account/register/
What steps will reproduce the problem?
1.Click on the register link from the main Login page
What is the expected output? What do you see instead?
User registration should appear, instead get exception:
Request Method: GET
Request URL: http://localhost:8000/account/register/
Exception Type: NameError
Exception Value:
global name 'auth_enable_registration' is not defined
Exception Location: /home/david/src/python/reviewboard/accounts/views.py
in account_register, line 27
What operating system are you using? What browser?
Ubuntu 8.10 / Firefox 3.0.5
I am running under the django development web server.
Please provide any additional information below.
I'm synced to latest SVN code (as at Sat 21 Mar, 22:00 UTC)
Looks like this is related to revision 1821 -
http://reviews.review-board.org/r/760
I'm new to Python and ReviewBoard code, but I think quotation marks (") are
needed around auth_enable_registration at line 27 of accounts/views.py
On a related point, should unticking the "Enable registration" option in
the admin settings also remove the "New User?" section from the login page
- or at least remove the 'register' link?