shared/share_data_item_loader.py
def clear_items(self, share_ticker):
        '''
        Removes share data items related to the share from the database
        '''
        share_items = Share.objects.filter(ticker=share_ticker)
        if not share_items:
            print('Did not find related share for ticker', share_ticker)
            return
        ShareDataItem.objects.filter(share=share_items.first()).delete()

        Removes share data items related to the share from the database
        
Removes share data items related to the share from the database
Removes share data items related to the share from the database
def clear_items(self, share_ticker):
        share_items = Share.objects.filter(ticker=share_ticker)
        if not share_items:
            print('Did not find related share for ticker', share_ticker)
            return
        ShareDataItem.objects.filter(share=share_items.first()).delete()
def clear_items ( self , share_ticker ) : share_items = Share . objects . filter ( ticker = share_ticker ) if not share_items : print ( 'Did not find related share for ticker' , share_ticker ) return ShareDataItem . objects . filter ( share = share_items . first ( ) ) . delete ( )
Removes share data items related to the share from the database
Removes share data items related to the share from the database
'''
        Removes share data items related to the share from the database
        '''
self
share_ticker