root / neighbors / config.py

Revision 168:ef15af625bff, 420 bytes (checked in by Tarek Ziad?? <tarek@…>, 11 months ago)

added statistical apis

Line 
1
2db = 'postgres://chainon:chainon@localhost/chainon_fr'
3
4tag_retriever = 'select label from items_tag'
5user_retriever = "select username from auth_user where is_active = 't'"
6
7user_tags_retriever = """
8    select
9        distinct label
10    from
11        items_tag, items_itemuser, items_itemusertag
12    where
13        items_tag.id = tag_id and
14        items_itemuser.id = item_user_id and
15        user_name = '%s'
16"""
17
18
19
Note: See TracBrowser for help on using the browser.