Skip to content

Refactor PublicJson views #541

@batpad

Description

@batpad

There are a few views that subclass the PublicJson or PublicJsonPost views that seem like they would be better re-written as normal DRF Views, or ideally, just be part of the Viewset for that object type.

Creating a stub ticket here - let's put more examples and details of places where this pattern exists, and what it would take to fix. Keeping in mind that we would probably need to maintain backwards compatibility with the URL structure (though that can be handled with 301 redirects?)

cc @thenav56

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions