Skip to content

Commit

Permalink
Merge branch 'master' of github.com:froala/django-froala-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanneculai committed Feb 23, 2015
2 parents 339114d + 597f51d commit 7c25ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions froala_editor/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def __init__(self, *args, **kwargs):
'font_size', 'font_family', 'colors', 'block_styles', 'video', 'tables', 'media_manager', 'lists',
'file_upload'
)))
self.theme = kwargs.pop('theme', None)
self.include_jquery = kwargs.pop('include_jquery', True)
self.theme = kwargs.pop('theme', getattr(settings, 'FROALA_EDITOR_THEME', None))
self.include_jquery = kwargs.pop('include_jquery', getattr(settings, 'FROALA_INCLUDE_JQUERY', True))
self.image_upload = kwargs.pop('image_upload', True)
self.file_upload = kwargs.pop('file_upload', True)
super(FroalaEditor, self).__init__(*args, **kwargs)
Expand Down

0 comments on commit 7c25ef9

Please sign in to comment.