Changed scope (?) of remaining local imports.

This commit is contained in:
Marcus Scholz 2020-09-11 19:15:39 +02:00
parent e655e1598a
commit 7687acb366
3 changed files with 4 additions and 4 deletions

View File

@ -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. # Load and override settings from local_settings.py and don't fail on errors.
try: try:
from .local_settings import * from lostplaces_app.local_settings import *
except ImportError: except ImportError:
pass pass

View File

@ -6,9 +6,9 @@
from django.contrib import admin from django.contrib import admin
from django.contrib.auth import get_user_model from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin 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. # Register your models here.

View File

@ -1,5 +1,5 @@
from django.urls import path from django.urls import path
from .views import ( from lostplaces_app.views import (
HomeView, HomeView,
PlaceDetailView, PlaceDetailView,
PlaceListView, PlaceListView,