Project

General

Profile

Feature #11

Attribute and Relationship fields for Entity subclasses

Added by Joseph Spiros over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Core
Target version:
-
Start date:
07/26/2010
Due date:
% Done:

100%

Estimated time:

Description

Entity subclassers should have access to fields, or field-like objects, which use Attributes and Relationships as their storage system. For example:

class MyModel(philo.models.Entity):
    mything = AttributeField('key.for.mything.attribute')
    myotherthing = RelationshipField('key.for.myotherthing.relationship')

Furthermore, these fields should be declarable on proxy models, as they do not actually require any database changes. This would be particularly useful to people using Penfield's default views but needing additional standard fields on the objects they use with them.

History

#1

Updated by Joseph Spiros over 13 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF