Fixed the import bug. Stupid cwd being on the python path by default...
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 23 Jan 2009 23:56:12 -0500 |
parents |
bfa2c0882ce6
|
children |
09b70d37fb65
|
branches/tags |
(none) |
files |
blog/views.py projects/views.py |
Changes
--- a/blog/views.py Fri Jan 23 23:51:07 2009 -0500
+++ b/blog/views.py Fri Jan 23 23:56:12 2009 -0500
@@ -4,7 +4,7 @@
from django.http import HttpResponseRedirect, HttpResponsePermanentRedirect
from django.core.urlresolvers import reverse
from akismet import Akismet
-import deploy
+from stevelosh import deploy
ak = Akismet(deploy.AKISMET_API_KEY, blog_url='http://stevelosh.com/')
ENTRIES_PER_PAGE = 10
--- a/projects/views.py Fri Jan 23 23:51:07 2009 -0500
+++ b/projects/views.py Fri Jan 23 23:56:12 2009 -0500
@@ -4,7 +4,7 @@
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from akismet import Akismet
-import deploy
+from stevelosh import deploy
ak = Akismet(deploy.AKISMET_API_KEY, blog_url='http://stevelosh.com/')