~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to pybb/signals.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:
3
3
 
4
4
from pybb.models import Post, PrivateMessage
5
5
 
6
 
 
7
6
def post_saved(instance, **kwargs):
8
7
    pass
9
8
    # notify_topic_subscribers(instance)
10
9
 
11
 
 
12
10
def setup_signals():
13
11
    post_save.connect(post_saved, sender=Post)