Error !

AttributeError: 'module' object has no attribute 'User'

12 def signup(c, req):
13 """provide a signup form and process it."""
14 db = c.db or c.config.connect_to_db()
15 user = c.models.User(db)
16 if req.env['REQUEST_METHOD'] == 'POST':
17 # see about registering this new user (validations in the model).
18 user.set_attribs(prefix='user_', **req.params)
19 print "signup:", user
20 errors = user.register()
/web/amplitude/controllers/registrar.py, line 15:
user = c.models.User(db)
, line 1:
None
/web/amplitude/controller.py, line 26:
return eval("c.%s(req)" % req.route.action)
/web/amplitude/wsgi.py, line 133:
response.body = [c(req) or '']