Archived
1
0

more recent changes

This commit is contained in:
Jeff Becker
2016-10-18 07:03:51 -04:00
parent 378a257377
commit 4f3bc5cf6e
9 changed files with 133 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
#
# please edit this file to contain the required information
#
""" path to article storage directory """
storage = '/path/to/storage/'
""" database connector url """
dburl = 'postgresql://user:password@localhost/database'
#dburl = 'sqlite:///path/to/nntpchan.sqlite3'

View File

@@ -0,0 +1,16 @@
from nntpchan import config
import sqlalchemy
def allowsMessage(msgid):
return True
def allowsNewsgroup(group):
return True
def init():
"""
initialize db backend
"""