-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Django 1.11.17 is required to work with python 3.7+ so make sure to install that. * First pass at cleaning up the models some Adding proper verbose_name and help_text for all fields. Add validators to some as well. Verified that manage.py test still passes. This is a WIP though, it will need a migration before we're done. * Fix flake8 errors * Fix pydocstyle errors * Add migration, fix migration history, add tests around migrations. Migrations were broken if you went backward and forward again, so I fixed the history with a new migration. I then was able to properly add my own new migration. Lastly, I added tests to try and ensure no migration issues happened again. * Make raw sql a tuple format to avoid sqlparse requirement * Must add absolute_import to every file for python2 * Don't have to clear our django's migration history, apparently it works fine without that. * sqlite won't let you run things like migrations inside another transaction (like a test) * Fix django 2.2 tests * Setting TOXENV seems to no longer handle the django env variable, so just let it do one test with latest django. * Run migration backward/forward for all tests
- Loading branch information
1 parent
a994d5a
commit 0c2586b
Showing
15 changed files
with
414 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
django_celery_beat/migrations/0005_add_solarschedule_events_choices.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.