fix imports
diff --git a/plstackapi/core/admin.py b/plstackapi/core/admin.py
index fd51666..18c1e86 100644
--- a/plstackapi/core/admin.py
+++ b/plstackapi/core/admin.py
@@ -1,4 +1,4 @@
-from core.models import *
+from plstackapi.core.models import *
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
diff --git a/plstackapi/core/serializers.py b/plstackapi/core/serializers.py
index 62ac271..2973ab4 100644
--- a/plstackapi/core/serializers.py
+++ b/plstackapi/core/serializers.py
@@ -1,6 +1,6 @@
from django.forms import widgets
from rest_framework import serializers
-from models import *
+from plstackapi.core.models import *
class SliceSerializer(serializers.HyperlinkedModelSerializer):
diff --git a/plstackapi/core/views.py b/plstackapi/core/views.py
index ebbd907..a5efd36 100644
--- a/plstackapi/core/views.py
+++ b/plstackapi/core/views.py
@@ -1,6 +1,6 @@
# Create your views here.
-from models import Site
+from plstackapi.core.models import Site
from serializers import *
from rest_framework import generics
from rest_framework.decorators import api_view
diff --git a/plstackapi/planetstack/settings.py b/plstackapi/planetstack/settings.py
index 86cb924..a477452 100644
--- a/plstackapi/planetstack/settings.py
+++ b/plstackapi/planetstack/settings.py
@@ -102,10 +102,10 @@
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
-ROOT_URLCONF = 'planetstack.urls'
+ROOT_URLCONF = 'plstackapi.planetstack.urls'
# Python dotted path to the WSGI application used by Django's runserver.
-WSGI_APPLICATION = 'planetstack.wsgi.application'
+WSGI_APPLICATION = 'plstackapi.planetstack.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
diff --git a/plstackapi/planetstack/urls.py b/plstackapi/planetstack/urls.py
index a4cf203..f04a87f 100644
--- a/plstackapi/planetstack/urls.py
+++ b/plstackapi/planetstack/urls.py
@@ -2,9 +2,9 @@
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
-from core import views
-from core.views import api_root
-from core.models import Site
+from plstackapi.core import views
+from plstackapi.core.views import api_root
+from plstackapi.core.models import Site
from rest_framework import generics
admin.autodiscover()
diff --git a/plstackapi/planetstack/wsgi.py b/plstackapi/planetstack/wsgi.py
index 6e03e11..11c4ce5 100644
--- a/plstackapi/planetstack/wsgi.py
+++ b/plstackapi/planetstack/wsgi.py
@@ -19,7 +19,7 @@
# if running multiple sites in the same mod_wsgi process. To fix this, use
# mod_wsgi daemon mode with each site in its own daemon process, or use
# os.environ["DJANGO_SETTINGS_MODULE"] = "planetstack.settings"
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "planetstack.settings")
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "plstackapi.planetstack.settings")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION