diff options
author | luxagraf <sng@luxagraf.net> | 2014-05-08 19:44:58 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-05-08 19:44:58 -0400 |
commit | 58e402a077c710c04934e3a7ddc25883427d1f64 (patch) | |
tree | 485506e3c1805a793f2d5920751f53c400b08aac /app/projects/models | |
parent | 5f430f31474847ac50fa017dc1397c3bde2d140d (diff) |
added birding app, fixed a few python-related bugs throughout the code base.
Diffstat (limited to 'app/projects/models')
-rw-r--r-- | app/projects/models/__init__.py | 10 | ||||
-rw-r--r-- | app/projects/models/base.py | 2 | ||||
-rw-r--r-- | app/projects/models/code.py | 2 |
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'), |