Commits

Federico Maggi committed 57a00ad Draft

Removed PEOPLE_DEFAULT_PICTURE and ACADEMIC_PEOPLE_DEFAULT_DIRECTORY settings

Comments (0)

Files changed (1)

academic/settings.py

     'ACADEMIC_PEOPLE_DEFAULT_DIRECTORY',
     'people')
 
-PEOPLE_DEFAULT_PICTURE = PEOPLE_DEFAULT_DIRECTORY + '/' + getattr(
-    settings,
-    'ACADEMIC_PEOPLE_DEFAULT_PICTURE',
-    'default.jpg')
-
 SPONSORS_DEFAULT_DIRECTORY = getattr(
     settings,
     'ACADEMIC_SPONSORS_DEFAULT_DIRECTORY',
 TINYMCE_MCE_JS = getattr(
     settings,
     'ACADEMIC_TINYMCE_JS',
-    settings.ADMIN_MEDIA_PREFIX + 'tinymce/jscripts/tiny_mce/tiny_mce.js')
+    settings.STATIC_URL + 'admin/tinymce/jscripts/tiny_mce/tiny_mce.js')
 
 TINYMCE_SETUP_JS = getattr(
     settings,