mirror of
https://github.com/goauthentik/authentik
synced 2026-05-09 00:22:24 +02:00
Co-authored-by: Dominic R <dominic@sdko.org> Co-authored-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Tana M Berry <tana@goauthentik.io>
8 lines
177 B
Python
8 lines
177 B
Python
from django.db import models
|
|
|
|
from authentik.admin.files.validation import validate_file_name
|
|
|
|
|
|
class FileField(models.TextField):
|
|
default_validators = [validate_file_name]
|