diff --git a/bookwyrm/views/__init__.py b/bookwyrm/views/__init__.py index 0ac23199..eeba8873 100644 --- a/bookwyrm/views/__init__.py +++ b/bookwyrm/views/__init__.py @@ -32,6 +32,12 @@ from .books.books import Book, upload_cover, add_description, resolve_book from .books.edit_book import EditBook, ConfirmEditBook from .books.editions import Editions, switch_edition +# landing +from .landing.landing import About, Home, Landing +from .landing.login import Login, Logout +from .landing.register import Register, ConfirmEmail, ConfirmEmailCode, resend_link +from .landing.password import PasswordResetRequest, PasswordReset + # misc views from .author import Author, EditAuthor from .directory import Directory @@ -45,17 +51,13 @@ from .import_data import Import, ImportStatus from .inbox import Inbox from .interaction import Favorite, Unfavorite, Boost, Unboost from .isbn import Isbn -from .landing import About, Home, Landing from .list import Lists, SavedLists, List, Curate, UserLists from .list import save_list, unsave_list, delete_list -from .login import Login, Logout from .notifications import Notifications from .outbox import Outbox from .reading import create_readthrough, delete_readthrough, delete_progressupdate from .reading import ReadingStatus -from .register import Register, ConfirmEmail, ConfirmEmailCode, resend_link from .rss_feed import RssFeed -from .password import PasswordResetRequest, PasswordReset from .search import Search from .shelf import Shelf from .shelf import create_shelf, delete_shelf diff --git a/bookwyrm/views/landing/__init__.py b/bookwyrm/views/landing/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/bookwyrm/views/landing.py b/bookwyrm/views/landing/landing.py similarity index 93% rename from bookwyrm/views/landing.py rename to bookwyrm/views/landing/landing.py index 6f480b70..c8bba066 100644 --- a/bookwyrm/views/landing.py +++ b/bookwyrm/views/landing/landing.py @@ -3,8 +3,8 @@ from django.template.response import TemplateResponse from django.views import View from bookwyrm import forms -from .feed import Feed -from . import helpers +from bookwyrm.views import helpers +from bookwyrm.views.feed import Feed # pylint: disable= no-self-use diff --git a/bookwyrm/views/login.py b/bookwyrm/views/landing/login.py similarity index 100% rename from bookwyrm/views/login.py rename to bookwyrm/views/landing/login.py diff --git a/bookwyrm/views/password.py b/bookwyrm/views/landing/password.py similarity index 100% rename from bookwyrm/views/password.py rename to bookwyrm/views/landing/password.py diff --git a/bookwyrm/views/register.py b/bookwyrm/views/landing/register.py similarity index 100% rename from bookwyrm/views/register.py rename to bookwyrm/views/landing/register.py