Commits

Guilherme Gondim committed 6840f52

minor change

Comments (0)

Files changed (1)

redactor/widgets.py

 from django.conf import settings
 
 
-DEFAULT_OPTIONS = getattr(settings, 'REDACTOR_OPTIONS', {})
+OPTIONS = getattr(settings, 'REDACTOR_OPTIONS', {})
 
 INIT_JS = """<script type="text/javascript">
   jQuery(document).ready(function(){
         self.user_options = kwargs.pop('redactor_options', {})
 
     def get_options(self):
-        options = DEFAULT_OPTIONS.copy()
+        options = OPTIONS.copy()
         options.update(self.user_options)
         options.update({
             'imageUpload': reverse('redactor_upload_image', kwargs={'upload_to': self.upload_to}),