Skip to content

Change model from class attribute to property #97

Description

@kerudev

The model class attribute should be a property, as it should never change on runtime. The only issue is I can think of is getattr not working with properties, as I've never tried that. In particular, check out the class ModelManager as it does exactly this.

This issue will serve as an investigation task to check whether it's possible or not to change the model attribute into a property.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions