Changeset 5211 for ndgCommon


Ignore:
Timestamp:
21/04/09 15:09:24 (10 years ago)
Author:
cbyrom
Message:

Extend Deployment data model to include values to simplify the lookup
of the associated data - for use when updating changed atom references.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/models/Deployment.py

    r4935 r5211  
    3131        self.browseURL = deploymentAtom.atomBrowseURL 
    3232        self.title = deploymentAtom.title 
     33         
     34        # include id so the deployment can be retrieved easily 
     35        self.id = deploymentAtom.datasetID 
     36        self.providerID = deploymentAtom.ME.providerID 
    3337        logging.debug("Deployment created") 
    3438 
Note: See TracChangeset for help on using the changeset viewer.