Author: gjm
Date: Mon Jan  7 16:18:26 2013
New Revision: 1429877

URL: http://svn.apache.org/viewvc?rev=1429877&view=rev
Log:
adding the auto increment field specification to the ProductResourceMap model - 
towards #333

Modified:
    incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py

Modified: 
incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py?rev=1429877&r1=1429876&r2=1429877&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py 
(original)
+++ incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/model.py 
Mon Jan  7 16:18:26 2013
@@ -86,6 +86,7 @@ class ProductResourceMap(ModelBase):
             'non_key_fields':['product_id','resource_type','resource_id',],
             'no_change_fields':['id',],
             'unique_fields':[],
+            'auto_inc_fields': ['id'],
             }
     
     def reparent_resource(self, product=None):


Reply via email to