Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity Attributes Data Model Part 1 #131

Closed
23 tasks done
wonderchook opened this issue Apr 7, 2016 · 2 comments
Closed
23 tasks done

Entity Attributes Data Model Part 1 #131

wonderchook opened this issue Apr 7, 2016 · 2 comments
Assignees
Milestone

Comments

@wonderchook
Copy link
Contributor

wonderchook commented Apr 7, 2016

Summary

This issue covers only the initial setup of the django-jsonattrs module. See #255 for the rest.

Adapt existing or implement new Django application for dynamic attribute management

Links to requirements and functional testing script

Requirements

Acceptance criteria

  • Entity Attributes Data Model exists
  • 100% Test Coverage
  • Tests Pass
  • Property Documented [NOT DONE]
  • Reviewed by Oliver [NOT DONE]

Task list (including tests)

  • Review existing Django "dynamic model" packages
  • Initial design
  • Set up new django-jsonattrs project
  • Tests: fixtures
  • Example app: basic models, forms, views
  • Schema and schema selector models
  • Tests: schema and schema selector models
  • Example app: schema management
  • Field definition model
  • Tests: field definition model
  • Example app: field management
  • JSON attributes field class
  • Utility functions: get schema from field, get attributes from field
  • Tests: more fixtures (schema definitions)
  • Tests: utility functions
  • Example app: schema view from domain entities
  • Tests: JSON attributes field class
  • Form generation
  • Tests: form generation
  • Example app: form generation
  • Form validation
  • Test: form validation
  • Example app: form validation
@wonderchook wonderchook added this to the Version 0.1 milestone Jun 15, 2016
@ian-ross
Copy link
Contributor

There's probably more to be done on form validation here as well, but it roughly works. I'll do more on this when I come to incorporate attributes display and management into the platform code.

@ian-ross ian-ross changed the title Entity Attributes Data Model Entity Attributes Data Model Part 1 Jun 19, 2016
@ian-ross
Copy link
Contributor

This gets the entity attribute modelling into a state where @bjohare can do the attribute schema setup and where I can start incorporating attributes into the front end (see #255).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants