Coder Social home page Coder Social logo

rehab-exergames-px-app's People

Contributors

edwingamboa avatar

Watchers

Cristian Leonardo avatar  avatar

rehab-exergames-px-app's Issues

CRUD Rehabilitation Exergames constraints

As PX evaluator I want to be able to manage rehabilitation exergames constraints, so that I can considere them when performing a PX evaluation

Acceptance criteria

  • Rehabilitation exergames constraints can be registered using following fields: Name (short description), description, category (one or more)
  • Rehabilitation exergames constraints can be updated all fields mentioned previously are editable
  • Rehabilitation exergames constraints can be activated/deactivated (logical delete)
  • Rehabilitation exergames constraints can be visualised: first, user selects category, then constraints associated to selected category are listed

CRUD Rehabilitation Exergames (RehExg)

As evaluator I want to manage rehabilitation exergames (RehExg) information, so that I can characterise them correctly when performing a PX evaluation.

Acceptance criteria

  • RehExgs can be registered (properties are listed in attached doc)
  • Registered RehExgs can be updated
  • Registered RehExgs can be logically deleted
  • Registered RehExgs can be visualised

See doc

Create base project

As developer I want to have a base django project to add app features

Acceptance criteria

  • A base django project is created and can be extended
  • A base template is included

Create model for game

A game should be registered using following fields:

  • name
  • description
  • image
  • interaction devices

Create resources from forms that need resources

AS-IS

When creating an object, if a resource is needed it should exist already in order to be selected.

TO-BE

If a resource is not already available, it should be possible to create a new resource and selected it

querysets in forms

Querysets of model forms can be changed in form init method without overriding the form field.
For instance, RehabilitationExergameForm can be changed to:

RehabilitationExergameForm(forms.ModelForm):
    def __init__(self, *args, **kwargs):
        super(RehabilitationExergameForm, self).__init__(*args, **kwargs)
        self.fields['input_interaction_devices'].queryset=InteractionDevice.objects.filter(
            Q(type=Constants.INPUT_DEVICE) | Q(type=Constants.IN_OUTPUT_DEVICE))
        self.fields['output_interaction_devices']queryset=InteractionDevice.objects.filter(
            Q(type=Constants.OUTPUT_DEVICE) | Q(type=Constants.IN_OUTPUT_DEVICE))

    class Meta(object):
        model = RehabilitationExergame
        fields = '__all__'
        exclude = ['status']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.