Commit 395f2cfe authored by Michal Čihař's avatar Michal Čihař

Various coding style fixes

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 15f56195
......@@ -56,4 +56,3 @@ class WeblateRouter(routers.DefaultRouter):
)
)
return '/'.join(result)
......@@ -25,6 +25,7 @@ from weblate.lang.models import Language
class MultiFieldHyperlinkedIdentityField(serializers.HyperlinkedIdentityField):
# pylint: disable=W0622
def get_url(self, obj, view_name, request, format):
"""
Given an object, return the URL that hyperlinks to the object.
......
......@@ -21,7 +21,6 @@
from __future__ import unicode_literals
from django.conf.urls import url, include
from rest_framework import routers
from weblate.api.views import (
ProjectViewSet, ComponentViewSet, TranslationViewSet, LanguageViewSet,
......
......@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from django.shortcuts import render, get_object_or_404
from django.shortcuts import get_object_or_404
from rest_framework import viewsets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment