Changed scope (?) of remaining local imports.
This commit is contained in:
parent
e655e1598a
commit
7687acb366
@ -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
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user