Project

Profile

Help

Issue #6815

Updated by ttereshc over 4 years ago

Advisory models: 
 ~~~ 
 class UpdateRecord(Content) 

 class UpdateCollection(BaseModel): 
     update_record = models.ManyToManyField(UpdateRecord, related_name="collections") 

 class UpdateCollectionPackage(BaseModel): 
    update_collection = models.ForeignKey(UpdateCollection, related_name='packages', on_delete=models.CASCADE)  

 class UpdateReference(BaseModel): 
     update_record = models.ForeignKey(UpdateRecord, related_name="references", on_delete=models.CASCADE) 
 ~~~ 

 Currently only [`UpdateRecord` `UpdateRecord` is considered](https://github.com/pulp/pulp_rpm/blob/a617daa6c256bc42aba5d181b6118454c588e3ac/pulp_rpm/app/modelresource.py#L174). considered. 

Back