On Dec 23 2008, 12:04 pm, inhahe <
inh...@gmail.com> wrote:
> Can someone tell me how to delete a record using Mako? Do I have to
> use SQL for this?? Thanks.
That's kind of like asking "how to make flat iron fly?" :-) The answer
is if you really try, you could conceivably do this, but the bigger
point is, you should do it in Controller code, not View code (look up
MVC on Wikipedia). Another answer is, no, you don't need to use SQL to
delete a record provided you use Object-Relational Mapper like
SQLAlchemy.
Regards,
mk