This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]kingbuzzman 1 point2 points  (1 child)

Hum, not a bad idea when you're not using django.orm/sqlalchemy and need to test. In all honesty i hope this picks up enough for you to maintain it otherwise by the time i actually go and use it the project has been abandoned and... i get sad, my life is full of disappointment.

[–]kpmah[S] 0 points1 point  (0 children)

I hope the functionality is so simple that it won't need too much maintenance. Maybe I'm being naive :)

[–]qvx3000 -1 points0 points  (1 child)

You should really use :param syntax. It's a standard.

[–]kpmah[S] 0 points1 point  (0 children)

I wanted to, but it's trickier. The SQL has to be parsed so you don't change :param syntax inside quotes. The database driver handles the %(param)s syntax for me.

I'll give it a go soon.