~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlmaps/apps.py

  • Committer: Holger Rapp
  • Date: 2009-02-20 12:25:18 UTC
  • Revision ID: holgerrapp@gmx.net-20090220122518-feaq34ta973snnct
Imported wikiapp into our repository, because we did some local changes (users must be logged in to edit wiki pages)

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 WlMapsConfig(AppConfig):
6
 
 
7
 
    name = 'wlmaps'
8
 
    verbose_name = 'Widelands Maps'
9
 
 
10
 
    def ready(self):
11
 
        from wlmaps.management import create_notice_types
12
 
        signals.post_migrate.connect(create_notice_types, sender=self)
13