Metadata-Version: 2.4
Name: klaatu-django
Version: 4.1.0
Author-email: Robert Huselius <robert@huseli.us>
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://github.com/Eboreg/klaatu-django
Project-URL: Source, https://github.com/Eboreg/klaatu-django
Project-URL: Issues, https://github.com/Eboreg/klaatu-django/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: beautifulsoup4
Requires-Dist: Django>=3.2
Requires-Dist: djangorestframework
Requires-Dist: klaatu-python
Requires-Dist: Pillow
Requires-Dist: python-dateutil
Provides-Extra: dev
Requires-Dist: flake8; extra == "dev"
Requires-Dist: ipdb; extra == "dev"
Requires-Dist: ipython; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: mypy>=0.910; extra == "dev"
Requires-Dist: pylint; extra == "dev"
Requires-Dist: pylint-django; extra == "dev"
Requires-Dist: types-python-dateutil; extra == "dev"
Dynamic: license-file

# klaatu-django

A collection of Django stuff that could be useful in various different projects.

## Installation

Add `'klaatu_django'` to `settings.INSTALLED_APPS`. Place it before `'django.contrib.staticfiles'` if you want it to override `collectstatic` (nothing important, just gets rid of some annoying warnings when using Grappelli) and `runserver` (minor file watching improvements).

## Notes on the contents

`klaatu_django.fields` contains model fields, not form fields.

### For use with the admin:

* `klaatu_django.actions`: Admin actions.
* `klaatu_django.admin`: Filters and ModelAdmin mixins.

### For use with Django REST Framework:

* `klaatu_django.permissions`
* `klaatu_django.renderers`
* `klaatu_django.routers`
* `klaatu_django.schemas`: This contains rather extensive additions to the default OpenAPI schema classes. However, the bulk of it was written for DRF versions where that functionality was very much a work in progress. So it may be that some of it is, or will be, obsolete.
* `klaatu_django.serializer_fields`
* `klaatu_django.serializer_mixins`
* `klaatu_django.view_mixins`
* `klaatu_django.views`
