global name 'web2py_extract' is not defined

15 views
Skip to first unread message

Amit Kumar Modak

unread,
Dec 9, 2016, 11:43:52 AM12/9/16
to web2py-users
 The following line of code is giving error
global name 'web2py_extract' is not defined


    response.flash=web2py_extract('month', db.Player.DateOfBirth)

Anthony

unread,
Dec 9, 2016, 2:26:11 PM12/9/16
to web2py-users
That means the function web2py_extract has not been defined within that context. Is that a function you created? If so, where is it defined, and in what context are you attempting to call it?
Reply all
Reply to author
Forward
0 new messages