<s> from django . conf import settings <EOL> from django . db import models <EOL> DEFAULT_HTML_FIELD_CLASSES = [ ] <EOL> DEFAULT_IMAGE_FIELD_CLASSES = [ models . ImageField ] <EOL> DEFAULT_URL_FIELD_CLASSES = [ models . FileField ] <EOL> try : <EOL> from sorl . thumbnail import ImageField <EOL> DEFAULT_IMAGE_FIELD_CLASSES . append ( ImageField ) <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> from mcefield . custom_fields import MCEField <EOL> DEFAULT_HTML_FIELD_CLASSES . append ( MCEField ) <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> from select_url_field . fields import SelectURLField <EOL> DEFAULT_URL_FIELD_CLASSES . append ( SelectURLField ) <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> from filebrowser . fields import FileBrowseField <EOL> DEFAULT_URL_FIELD_CLASSES . append ( FileBrowseField ) <EOL> except ImportError : <EOL> pass <EOL> try : <EOL> from browse_and_upload_field . fields import FileBrowseAndUploadField <EOL> DEFAULT_URL_FIELD_CLASSES . append ( FileBrowseAndUploadField ) <EOL> except ImportError : <EOL> pass <EOL> HTML_FIELD_CLASSES = getattr ( settings , '<STR_LIT>' , [ ] ) + DEFAULT_HTML_FIELD_CLASSES <EOL> IMAGE_FIELD_CLASSES = getattr ( settings , '<STR_LIT>' , [ ] ) + DEFAULT_IMAGE_FIELD_CLASSES <EOL> URL_FIELD_CLASSES = getattr ( settings , '<STR_LIT>' , [ ] ) + DEFAULT_URL_FIELD_CLASSES <EOL> EXTERNAL_RECHECK_INTERVAL = getattr ( settings , '<STR_LIT>' , <NUM_LIT> ) <EOL> EXTERNAL_REGEX_STRING = getattr ( settings , '<STR_LIT>' , r'<STR_LIT>' ) <EOL> LINKCHECK_CONNECTION_ATTEMPT_TIMEOUT = getattr ( settings , '<STR_LIT>' , <NUM_LIT:10> ) <EOL> MAX_CHECKS_PER_RUN = getattr ( settings , '<STR_LIT>' , - <NUM_LIT:1> ) <EOL> MAX_URL_LENGTH = getattr ( settings , '<STR_LIT>' , <NUM_LIT:255> ) <EOL> MEDIA_PREFIX = getattr ( settings , '<STR_LIT>' , '<STR_LIT>' ) <EOL> RESULTS_PER_PAGE = getattr ( settings , '<STR_LIT>' , <NUM_LIT> ) <EOL> SITE_DOMAINS = getattr ( settings , '<STR_LIT>' , [ ] ) </s>
