Permalink
Browse files

Fixing a lot of import problems that are related to my directory stru…

…cture.
  • Loading branch information...
1 parent 834146a commit 7e9658446b6539e1669fd31cdf39200534ad4a63 @bryanveloso bryanveloso committed Jun 22, 2008
@@ -8,8 +8,8 @@
from django.contrib.sitemaps import ping_google
from managers import *
-from template_utils.markup import formatter
-from typogrify.templatetags.typogrify import typogrify
+from applications.template_utils.markup import formatter
+from applications.typogrify.templatetags.typogrify import typogrify
class Entry(models.Model):
@@ -46,7 +46,7 @@ class Entry(models.Model):
footnotes_processed = models.TextField('Processed Footnotes', blank=True, editable=False)
# Options
- status = models.PositiveSmallIntegerField(choices=STATUS_CHOICES, default=LIVE_STATUS, radio_admin=True, help_text='Select the status of this blog entry.')
+ status = models.PositiveSmallIntegerField(choices=STATUS_CHOICES, default=LIVE_STATUS, help_text='Select the status of this blog entry.')
enable_comments = models.BooleanField('Comments?', default=True, help_text='Select \'True\' if you wish to enable visitors to comment on this entry.')
# Mangers
@@ -1,2 +1,2 @@
# Administration
-from blog import admin
+import admin
@@ -5,7 +5,7 @@
from django.dispatch import dispatcher
from django.contrib.contenttypes.models import ContentType
-from tagging.fields import TagField
+from applications.tagging.fields import TagField
class ItemManager(models.Manager):
@@ -3,7 +3,7 @@
from django.contrib.contenttypes.generic import GenericForeignKey
from managers import ItemManager
-from tagging.fields import TagField
+from applications.tagging.fields import TagField
class Item(models.Model):
@@ -1,5 +1,5 @@
# Administration
-from core import admin
+import admin
# Core Template Tags
from django import template
@@ -8,8 +8,8 @@
template.add_to_builtins('django.templatetags.cache')
# 3rd Party Template Tags
-template.add_to_builtins('typogrify.templatetags.typogrify')
-template.add_to_builtins('template_utils.templatetags.comparison')
-template.add_to_builtins('template_utils.templatetags.feeds')
-template.add_to_builtins('template_utils.templatetags.generic_content')
-template.add_to_builtins('template_utils.templatetags.generic_markup')
+template.add_to_builtins('applications.typogrify.templatetags.typogrify')
+template.add_to_builtins('applications.template_utils.templatetags.comparison')
+template.add_to_builtins('applications.template_utils.templatetags.feeds')
+template.add_to_builtins('applications.template_utils.templatetags.generic_content')
+template.add_to_builtins('applications.template_utils.templatetags.generic_markup')
@@ -5,7 +5,7 @@
from django.utils import text
#from core.models import Item
-from tagging.fields import TagField
+from applications.tagging.fields import TagField
class Developer(models.Model):
@@ -1,2 +1,2 @@
# Administration
-from projects import admin
+import admin
@@ -12,7 +12,7 @@
from django import template
from django.template.loader import render_to_string
-from template_utils.nodes import ContextUpdatingNode
+from applications.template_utils.nodes import ContextUpdatingNode
class FeedIncludeNode(template.Node):
@@ -7,7 +7,7 @@
from django import template
from django.db.models import get_model
-from template_utils.nodes import ContextUpdatingNode, GenericContentNode
+from applications.template_utils.nodes import ContextUpdatingNode, GenericContentNode
class RandomObjectsNode(GenericContentNode):

0 comments on commit 7e96584

Please sign in to comment.