]> git.ipfire.org Git - thirdparty/patchwork.git/commit
urls: Don't "include" admin URLs
authorStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:40 +0000 (21:17 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:17:40 +0000 (21:17 +0100)
commitc265e0fd9588030ab8bcff1e4f27be941511aca4
tree84959bca9834b6e8d13266d81e61430016a5c724
parent8289734350a4358e0dd9f5833c3fbde7acd70d54
urls: Don't "include" admin URLs

This raises a warning in Django 1.9 and will cause an error in Django
2.0. Per the documentation [1] it is not even necessary so it can simply
be removed.

This resolves all issues with Django 1.9.

[1] https://docs.djangoproject.com/en/1.11/ref/contrib/admin/\
      #hooking-adminsite-instances-into-your-urlconf

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/urls.py