I have "tech" field name and i want to print "Technology" as a label in browser. so i write below code
tech = fields.Selection(string='Technology',[('php','PHP'),('java','JAVA'),('python','Python')]) |
but it gives an error like "SyntaxError: non-keyword arg after keyword arg"
if i write below code than it display "tech" as a label but i want to print "Technology".
tech = fields.Selection([('php','PHP'),('java','JAVA'),('python','Python')]) |
help me out.Thanks in advance