diff --git a/lostplaces/lostplaces/settings.py b/lostplaces/lostplaces/settings.py index f02ff25..127b8c1 100644 --- a/lostplaces/lostplaces/settings.py +++ b/lostplaces/lostplaces/settings.py @@ -143,6 +143,6 @@ LOGOUT_REDIRECT_URL = reverse_lazy('lostplaces_home') # Load and override settings from local_settings.py and don't fail on errors. try: - from .local_settings import * + from lostplaces_app.local_settings import * except ImportError: pass diff --git a/lostplaces/lostplaces_app/admin.py b/lostplaces/lostplaces_app/admin.py index 5d53ab7..d2945df 100644 --- a/lostplaces/lostplaces_app/admin.py +++ b/lostplaces/lostplaces_app/admin.py @@ -6,9 +6,9 @@ from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin -from .models import * +from lostplaces_app.models import * -from .forms import ExplorerCreationForm, ExplorerChangeForm +from lostplaces_app.forms import ExplorerCreationForm, ExplorerChangeForm # Register your models here. diff --git a/lostplaces/lostplaces_app/urls.py b/lostplaces/lostplaces_app/urls.py index fabf191..2e7262d 100644 --- a/lostplaces/lostplaces_app/urls.py +++ b/lostplaces/lostplaces_app/urls.py @@ -1,5 +1,5 @@ from django.urls import path -from .views import ( +from lostplaces_app.views import ( HomeView, PlaceDetailView, PlaceListView,