-
Committer:
mergebot at canonical
-
Author(s):
"Ryan Finnie"
-
Date:
2020-03-24 22:02:05 UTC
-
mfrom:
(59.1.1 turku-api-bionic)
-
Revision ID:
mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20200324220205-waiawggs3vezkbu6
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).
Reviewed-on: https://code.launchpad.net/~fo0bar/turku/bionic/+merge/344994
Reviewed-by: Haw Loeung <haw.loeung@canonical.com>
Reviewed-by: Joel Sing <joel.sing@canonical.com>