summaryrefslogtreecommitdiff
path: root/app/projects/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/projects/models')
-rw-r--r--app/projects/models/__init__.py10
-rw-r--r--app/projects/models/base.py2
-rw-r--r--app/projects/models/code.py2
3 files changed, 7 insertions, 7 deletions
diff --git a/app/projects/models/__init__.py b/app/projects/models/__init__.py
index 19a4f56..ca95ec7 100644
--- a/app/projects/models/__init__.py
+++ b/app/projects/models/__init__.py
@@ -1,5 +1,5 @@
-from base import Project
-from fiveby import FiveBy
-from natparks import NationalParks
-from code import Code, CodeBlogDemo, CodeBlogEntry
-from gifs import AnimatedGif
+from .base import Project
+from .fiveby import FiveBy
+from .natparks import NationalParks
+from .code import Code, CodeBlogDemo, CodeBlogEntry
+from .gifs import AnimatedGif
diff --git a/app/projects/models/base.py b/app/projects/models/base.py
index 23d2af4..26a0122 100644
--- a/app/projects/models/base.py
+++ b/app/projects/models/base.py
@@ -5,7 +5,7 @@ from django.contrib.sitemaps import Sitemap
from django.template.defaultfilters import truncatewords_html
from django.contrib.syndication.views import Feed
-from utils import markdown2 as markdown
+import markdown
from photos.models import PhotoGallery
diff --git a/app/projects/models/code.py b/app/projects/models/code.py
index 19de428..495fc2f 100644
--- a/app/projects/models/code.py
+++ b/app/projects/models/code.py
@@ -1,7 +1,7 @@
import datetime
from django.db import models
-from utils import markdown2 as markdown
+import markdown
PUB_STATUS = (
(0, 'Draft'),
(1, 'Published'),