mirror of
https://github.com/django-polymorphic/django-polymorphic.git
synced 2025-12-06 01:13:55 +03:00
10 lines
283 B
Python
10 lines
283 B
Python
# This helps pytest-django locate the project.
|
|
import os
|
|
import sys
|
|
|
|
if __name__ == "__main__":
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "polymorphic_test_settings")
|
|
from django.core.management import execute_from_command_line
|
|
|
|
execute_from_command_line(sys.argv)
|