Skip to content

Commit

Permalink
Correct module import for form
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Vetter committed Aug 6, 2013
1 parent 8743108 commit 4cefd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fancypages/templatetags/fp_block_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from django.db.models import get_model
from django.template import defaultfilters, loader

from .. import forms
from .. import library
from .. import renderers
from ..dashboard import forms

ContentType = get_model('contenttypes', 'ContentType')

Expand All @@ -17,7 +17,7 @@ def update_blocks_form(page, container_name):
container = page.get_container_from_name(container_name)
if not container:
return None
return forms.WidgetUpdateSelectForm(container)
return forms.BlockUpdateSelectForm(container)


@register.simple_tag(takes_context=True)
Expand Down

0 comments on commit 4cefd6e

Please sign in to comment.