SchemaGenerator: 'FooViewSet' object has no attribute 'format_kwarg' · Issue #4293 · encode/django-rest-framework (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@decentral1se

Description

@decentral1se

Checklist

Steps to reproduce

Using the new schema generation via DefaultRouter, hook a ViewSet into it.

Expected behavior

A schema is generated for the ViewSet.

Actual behavior

AttributeError: 'AddressViewSet' object has no attribute 'format_kwarg'