Source

django-markitup / testserver.py

Full commit
1
2
3
4
5
6
7
8
#!/usr/bin/env python
import os, sys


if __name__ == '__main__':
    os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.project.settings'
    from django.core.management import execute_from_command_line
    execute_from_command_line(['./testserver.py', 'runserver'])