├── .github └── workflows │ ├── flake8.yml │ └── pytest.yml ├── .gitignore ├── LICENSE ├── README.rst ├── conftest.py ├── safe_filefield ├── __init__.py ├── clamav.py ├── default_settings.py ├── forms.py ├── models.py ├── tests │ ├── __init__.py │ ├── extras │ │ ├── infected.dat │ │ └── sample.jpg │ ├── test_forms.py │ ├── test_models.py │ ├── test_utils.py │ ├── test_validators.py │ └── utils.py ├── utils.py └── validators.py ├── setup.cfg ├── setup.py └── test_requirements.txt /.github/workflows/flake8.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/.github/workflows/flake8.yml -------------------------------------------------------------------------------- /.github/workflows/pytest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/.github/workflows/pytest.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/README.rst -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/conftest.py -------------------------------------------------------------------------------- /safe_filefield/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /safe_filefield/clamav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/clamav.py -------------------------------------------------------------------------------- /safe_filefield/default_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/default_settings.py -------------------------------------------------------------------------------- /safe_filefield/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/forms.py -------------------------------------------------------------------------------- /safe_filefield/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/models.py -------------------------------------------------------------------------------- /safe_filefield/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /safe_filefield/tests/extras/infected.dat: -------------------------------------------------------------------------------- 1 | X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* -------------------------------------------------------------------------------- /safe_filefield/tests/extras/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/extras/sample.jpg -------------------------------------------------------------------------------- /safe_filefield/tests/test_forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/test_forms.py -------------------------------------------------------------------------------- /safe_filefield/tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/test_models.py -------------------------------------------------------------------------------- /safe_filefield/tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/test_utils.py -------------------------------------------------------------------------------- /safe_filefield/tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/test_validators.py -------------------------------------------------------------------------------- /safe_filefield/tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/tests/utils.py -------------------------------------------------------------------------------- /safe_filefield/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/utils.py -------------------------------------------------------------------------------- /safe_filefield/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/safe_filefield/validators.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/setup.py -------------------------------------------------------------------------------- /test_requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mixkorshun/django-safe-filefield/HEAD/test_requirements.txt --------------------------------------------------------------------------------