getting closer. Still receive this error: <type
'exceptions.AttributeError'> 'Set' object has no attribute 'last_name'
I didn't change anything but the html
HTML
{{extend 'layout.html'}}
<h1>Profile</h1>
<table class="table table-striped">
<tr>
<td>{{=personID.last_name}}</td>
</tr>
</table>
ERROR LISTING
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
response.write('\n <div class="span3 left-sidebar">\n ',
escape=False)
response.write('\n <h3>Left Sidebar</h3>\n <p></p>\n
', escape=False)
response.write('\n </div>\n ', escape=False)
pass
response.write('\n\n <div class="', escape=False)
response.write(middle_columns)
response.write('">\n ', escape=False)
response.write('\n ', escape=False)
response.write('\r\n<h1>Profile</h1>\r\n<table class="table table-striped">\r\n
<tr>\r\n <td>', escape=False)
response.write(personID.last_name)
response.write('</td>\r\n </tr>\r\n</table>\r\n', escape=False)
response.write('\n ', escape=False)
response.write('\n </div>\n\n ', escape=False)
if right_sidebar_enabled:
response.write('\n <div class="span3">\n ', escape=False)
response.write('\n <h3>Right Sidebar</h3>\n <p></p>\n
', escape=False)
response.write('\n </div>\n ', escape=False)
pass
response.write('\n </section><!--/main-->\n\n <!-- Footer
================================================== -->\n <div class="row">\n
<footer class="footer span12" id="footer">\n <div
class="footer-content">\n ', escape=False)
response.write(' <!-- this is default footer -->\n <div
class="copyright pull-left"><ul>\n <li>Version 1.0 -
Engagement Squared</li>\n <li> ', escape=False)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.