Browse files

some cleanup

  • Loading branch information...
1 parent 55886e4 commit 95c5ab6d9ab65e82e0e38344f7e1715cea0257bc @stefanfoulis stefanfoulis committed Nov 8, 2012
Showing with 1 addition and 3 deletions.
  1. +0 −1 cms/plugin_rendering.py
  2. +1 −1 stacks/admin.py
  3. +0 −1 stacks/templatetags/stack_tags.py
View
1 cms/plugin_rendering.py
@@ -161,7 +161,6 @@ def render_placeholder_toolbar(placeholder, context, name_fallback=None):
else:
slot = None
installed_plugins = plugin_pool.get_all_plugins(slot, page)
- print installed_plugins
name = get_placeholder_conf("name", slot, template, title(slot))
name = _(name)
context.push()
View
2 stacks/admin.py
@@ -3,7 +3,7 @@
from cms.admin.placeholderadmin import PlaceholderAdmin
class StackAdmin(PlaceholderAdmin):
- list_display = ('name', 'language')
+ list_display = ('code', 'name', 'language')
list_filter = ('language',)
search_fields = ('name',)
View
1 stacks/templatetags/stack_tags.py
@@ -2,7 +2,6 @@
from classytags.core import Tag, Options
from django import template
from django.utils.translation import get_language
-import re
from django.utils.safestring import mark_safe
from stacks import models as stack_models

0 comments on commit 95c5ab6

Please sign in to comment.