~fo0bar/turku/bionic

« back to all changes in this revision

Viewing changes to turku_api/migrations/__init__.py

  • Committer: Ryan Finnie
  • Date: 2020-03-24 21:50:17 UTC
  • Revision ID: ryan@finnie.org-20200324215017-6ojkdzl1mbq2jlqp
Add compatibility for Django 1.8~1.11 (xenial/bionic)

- Disable admin form "related links" (form children links) -- broken as of
  1.8, would be nice to have back if someone can figure out a replacement
- Add "fields = '__all__'" to admin forms
- Remove south migrations
- Port TEMPLATE_DIRS to TEMPLATES
- Change urlpatterns from patterns() to url() list
  
Changes have been tested as being backwards compatible to 1.6 (trusty).

Show diffs side-by-side

added added

removed removed

Lines of Context: