Skip to content

Commit

Permalink
Reformat imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chris34 committed Oct 19, 2024
1 parent 29f538c commit a032ea1
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 16 deletions.
8 changes: 6 additions & 2 deletions inyoka/forum/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.decorators.cache import cache_page

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import views

urlpatterns = [
Expand Down
8 changes: 6 additions & 2 deletions inyoka/ikhaya/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.decorators.cache import cache_page

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import views

urlpatterns = [
Expand Down
8 changes: 6 additions & 2 deletions inyoka/media_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.static import serve as view

from inyoka.utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from inyoka.utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)

urlpatterns = [
re_path(r'^(?P<path>.*)$', view, {'document_root': settings.MEDIA_ROOT}),
Expand Down
8 changes: 6 additions & 2 deletions inyoka/pastebin/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
from django.conf import settings
from django.urls import include, path, re_path

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import views

urlpatterns = [
Expand Down
8 changes: 6 additions & 2 deletions inyoka/planet/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.decorators.cache import cache_page

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import views

urlpatterns = [
Expand Down
8 changes: 6 additions & 2 deletions inyoka/portal/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
from django.conf import settings
from django.urls import include, path, re_path

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import views

urlpatterns = [
Expand Down
8 changes: 6 additions & 2 deletions inyoka/static_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.static import serve

from inyoka.utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from inyoka.utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)


def view(*args, **kwargs):
Expand Down
8 changes: 6 additions & 2 deletions inyoka/wiki/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
from django.urls import include, path, re_path
from django.views.decorators.cache import cache_page

from ..utils.http import global_not_found, server_error, bad_request_view, \
permission_denied_view
from ..utils.http import (
bad_request_view,
global_not_found,
permission_denied_view,
server_error,
)
from . import actions, views

urlpatterns = [
Expand Down

0 comments on commit a032ea1

Please sign in to comment.