Skip to content

Add ability to exclude fields from generator #32

@jsbUSMC

Description

@jsbUSMC

This may be just an edge case for myself, but I have added django-simple-history to my project to track changes made to instances of my models, and use that in the admin. I want to exclude the history field from each model, and when I ran the generate management command, the generator created serializer and modelviewset classes from the relationship for historical records, along with corresponding URLs. Now I know I can delete these and clean it up on my own, but could there be an option to define an excluded model from generation? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions