diff --git a/django_forms_as_jsonschema/forms.py b/django_forms_as_jsonschema/forms.py new file mode 100644 index 0000000000000000000000000000000000000000..976b257d6a3914fb4ded7fef544962a8ae880029 --- /dev/null +++ b/django_forms_as_jsonschema/forms.py @@ -0,0 +1,6 @@ +from django.forms import Form + + +class JSONSchemaFormMixin: + def as_jsonschema(self: Form) -> str: + pass diff --git a/pyproject.toml b/pyproject.toml index 738a903a90f8011942d8524fb31b7f60250b7da4..50bae850f7cf37cd36afe2ec43ee60561190a202 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ authors = ["Julian Leucker <leuckerj@gmail.com>"] [tool.poetry.dependencies] python = "^3.10" +Django = "^4.1" [tool.poetry.dev-dependencies] pytest = "^5.2"