Commits

James Bennett committed 7d50eae

Initial implementation of the registration_allowed() method in the default backend, and some cleanup for consistency.

Comments (0)

Files changed (1)

registration/backends/default/__init__.py

         based on the value of the setting ``REGISTRATION_OPEN``. This
         is determined as follows:
 
-        * If ``REGISTRATION_ALLOWED`` is not specified in settings, or
-          is set to ``True``, registration is permitted.
+        * If ``REGISTRATION_OPEN`` is not specified in settings, or is
+          set to ``True``, registration is permitted.
 
-        * If ``REGISTRATION_ALLOWED`` is both specified and set to
+        * If ``REGISTRATION_OPEN`` is both specified and set to
           ``False``, registration is not permitted.
         
         """
-        pass
+        return getattr(settings, 'REGISTRATION_OPEN', True)
 
     def get_form_class(request):
         """