Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks. Yes, the code-as-configuration thing is difficult, it invites people to do very strange things sometimes.

    [children]
    replaced_with = site.query('/projects').filter(F.categories.contains(this))
(from the categories example) looked a lot like embedded code to me ;)


Since there is no SQL I'm using the expression language from the templates for queries :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: