django-app-metrics
django-app-metrics copied to clipboard
Upgrade to Django>=2.2
- Add tox and pytest for easier testing and coverage reports
- django-coverage is no longer maintained
- Make new migrations
- Add
on_delete=models.PROTECTto foreign keys. - Remove compatibility code for Django<2.2.
- Update
importlibfrom Django version to Python standard lib. - Update
urllib2to Python 3 standard lib. - Update encoding for Mixpanel task.
- Change
printstatements to Python 3 style. - Change test files to
test_*naming convention. - Add
manage.pyfor easier testing with tox and pytest. - Remove
django-celery. No longer needed with modern Celery. - Remove
mockand use Python 3unittest.mock. - Update
statsdimplementation and tests. - Update management command base class.
- Add timezone support. Replaces #42.
- Update test settings.
- Exclude tests from package.
- Update test requirements.
@frankwiles Have you had a chance to look at this? Anything I can help with?