Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on test is missing #24

gustabot42 opened this issue Jun 21, 2019 · 1 comment


Copy link

commented Jun 21, 2019

dev requirements:

pip install mock_django

#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_settings")

    from import execute_from_command_line


This comment has been minimized.

Copy link

commented Jun 27, 2019

Nope, writing a is not needed, because I use pytest-django plugin. Other dev requirements (including the mock_django) are listed in a setuptools extra, here. So, the correct way is simply:

pip install --editable ".[dev]"

I've now added some dev instructions onto the landing page in b0aed3e

@wimglenn wimglenn closed this Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.