Commits

al...@alex3.resheteva.lan  committed b344480

cosmetic changes

  • Participants
  • Parent commits 3651e92

Comments (0)

Files changed (2)

File tgext/registration2/controllers.py

 import random
 from email.MIMEText import MIMEText
 
-import registration_config
+import tgext.registration2.registration_config as registration_config
 cfg = config.get('registration_config', None)
 if cfg:
     registration_config.readfile(cfg)
 config.reg_config = registration_config.registration
 
-from widgets import new_user_form, edit_user_form, lost_password_form, \
+from tgext.registration2.widgets import new_user_form, edit_user_form, lost_password_form, \
         delete_user_form
 
 

File tgext/registration2/widgets.py

             raise Invalid(self.message('notUnique', state), value, state)
         return value
         
-class TGSchema(Schema):    
+class TGSchema(Schema):
     filter_extra_fields = False
     allow_extra_fields = True
     ignore_key_missing = False