comparison Mapping.py @ 77:d292ab61ed6f

Add another setting to feed: when opening a feed entry in browser, you can force opening it in an external browser now. This is because some sites just crash the QWebView.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 14 Aug 2010 02:53:49 +0200
parents f909550683b0
children d11c3f71ac40
comparison
equal deleted inserted replaced
76:f909550683b0 77:d292ab61ed6f
35 Column("rss_url", String(255), nullable=False), 35 Column("rss_url", String(255), nullable=False),
36 Column("update_interval", Integer, nullable=False), 36 Column("update_interval", Integer, nullable=False),
37 Column("next_update", DateTime, nullable=False), 37 Column("next_update", DateTime, nullable=False),
38 # when displaying an entry of this feed, do not display the summary but rather load 38 # when displaying an entry of this feed, do not display the summary but rather load
39 # the link directly 39 # the link directly
40 Column("auto_load_entry_link", Boolean, nullable=False) 40 Column("auto_load_entry_link", Boolean, nullable=False),
41 # this is actually a hack: when opening some sites in the QWebView it just crashes.
42 # This setting forces to open an entry's link in the external browser
43 Column("always_open_in_browser", Boolean, nullable=False)
41 ) 44 )
42 45
43 global feedEntryTable 46 global feedEntryTable
44 feedEntryTable = Table("feed_entry", metadata, 47 feedEntryTable = Table("feed_entry", metadata,
45 Column("pk", Integer, primary_key=True), 48 Column("pk", Integer, primary_key=True),