Oznaczenie linków przekazywanych do book_short.html i fragment_short.html jako safe_s...
[wolnelektury.git] / apps / south / management / commands / test.py
1 from django.core import management
2 from django.core.management.commands import test
3 from django.core.management.commands import syncdb
4
5 class Command(test.Command):
6     
7     def handle(self, *args, **kwargs):
8         # point at the core syncdb command when creating tests
9         # tests should always be up to date with the most recent model structure
10         management.get_commands()
11         management._commands['syncdb'] = 'django.core'
12         super(Command, self).handle(*args, **kwargs)