django-notifications/manage.py
Zhongyuan 72a610551c Merge branch 'drop-support-django1.6'
Conflicts:
	notifications/__init__.py
	notifications/templatetags/notifications_tags.py
	notifications/tests/settings.py
	notifications/tests/urls.py
	setup.py
2015-12-14 16:02:02 +08:00

10 lines
336 B
Python
Executable file

#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
if 'test' in sys.argv or 'NOTIFICATION_TEST' in os.environ.keys():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "notifications.tests.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)