~netlandish/django-wiki

b7fde2ef1c85ed1183b70bd422090b2e61fdc339 — Raffaele Salmaso 6 years ago 74647e0
Remove urljoin import from wiki.core.compat
2 files changed, 1 insertions(+), 2 deletions(-)

M src/wiki/core/compat.py
M src/wiki/views/article.py
M src/wiki/core/compat.py => src/wiki/core/compat.py +0 -1
@@ 1,6 1,5 @@
"""Abstraction layer to deal with Django related changes in order to keep
compatibility with several Django versions simultaneously."""
from urllib.parse import urljoin  # noqa


# Django 1.11 Widget.build_attrs has a different signature, designed for the new

M src/wiki/views/article.py => src/wiki/views/article.py +1 -1
@@ 1,5 1,6 @@
import difflib
import logging
from urllib.parse import urljoin

from django.contrib import messages
from django.contrib.auth.decorators import login_required


@@ 18,7 19,6 @@ from django.views.generic.list import ListView
from wiki import editors, forms, models
from wiki.conf import settings
from wiki.core import permissions
from wiki.core.compat import urljoin
from wiki.core.diff import simple_merge
from wiki.core.exceptions import NoRootURL
from wiki.core.paginator import WikiPaginator