mirror of
https://github.com/django-polymorphic/django-polymorphic.git
synced 2026-02-07 23:39:27 +03:00
10 lines
284 B
Python
10 lines
284 B
Python
# This helps pytest-django locate the project.
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "polymorphic.tests.settings")
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|