~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to pybb/settings.py

  • Committer: Holger Rapp
  • Date: 2010-09-26 13:30:30 UTC
  • Revision ID: sirver@gmx.de-20100926133030-ceirjf83vde91tyt
Added a simple events model to display dates on the homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from django.conf import settings
2
2
 
3
 
 
4
3
def get(key, default):
5
4
    return getattr(settings, key, default)
6
5
 
 
6
 
7
7
TOPIC_PAGE_SIZE = get('PYBB_TOPIC_PAGE_SIZE', 10)
8
8
FORUM_PAGE_SIZE = get('PYBB_FORUM_PAGE_SIZE', 20)
9
9
USERS_PAGE_SIZE = get('PYBB_USERS_PAGE_SIZE', 20)