comments.utils module

comments.utils.validate_file_extention(value, allowed_extentions)[source]

Check if a filefield (value) has allowed extentions.