~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wiki/apps.py

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from django.apps import AppConfig
2
 
from django.db.models import signals
3
 
 
4
 
 
5
 
class WikiConfig(AppConfig):
6
 
 
7
 
    name = 'wiki'
8
 
    verbose_name = 'Wiki'
9
 
 
10
 
    def ready(self):
11
 
        from wiki.management import create_notice_types
12
 
        signals.post_migrate.connect(create_notice_types, sender=self)