Re: PyCharm & tests/runtests.py

2016-12-10 Thread Tim Graham
Please add new operations to the existing migrations manually. See a previous commit on the file for an example: https://github.com/django/django/commit/094d630ae8d8e5e68817c313da0fd737898b216b I'm not a PyCharm user so I'm not sure about that part. On Saturday, December 10, 2016 at 11:20:17 AM

Fellow Report - December 10, 2016

2016-12-10 Thread Tim Graham
Triaged --- https://code.djangoproject.com/ticket/27568 - Add new Entropy Password Validator to django.contrib.auth.password_validation (wontfix) https://code.djangoproject.com/ticket/27571 - Conditionally add TEST_DATABASE_PREFIX to db name (wontfix) https://code.djangoproject.com/tick

Re: PyCharm & tests/runtests.py

2016-12-10 Thread lex
Somewhat related follow up question: I have added a new model to django/tests/postgres/models.py, how do I now run makemigrations to generate a new migration for this model? Since the settings necessary to work with the test scaffolding is embedded in runtests.py I can't figure out how to use a

PyCharm & tests/runtests.py

2016-12-10 Thread lex
Hello, Does anyone here use PyCharm to hack on django? How do you run the unit tests? Specifically, PyCharm has its own runner and django has it's own runner in tests/runtests.py. It appears that the main thing I need from runtests.py is the settings. Is there a good way to extract the necessa