(self, action, obj=None, date=None)
return 'tag:{},{}:{}'.format(Site.objects.get_current().domain, date,
                                 self.get_url(action, obj, False))
Returns an RFC3987 IRI ID for the given object, action and date.
Returns an RFC3987 IRI ID for the given object, action and date.
Returns an RFC3987 IRI ID for the given object action and date .
def get_uri(self, action, obj=None, date=None):
        """
        Returns an RFC3987 IRI ID for the given object, action and date.
        """
        if date is None:
            date = action.timestamp
        date = datetime_safe.new_datetime(date).strftime('%Y-%m-%d')
        return 'tag:{},{}:{}'.format(Site.objects.get_current().domain, date,
                                 self.get_url(action, obj, False))
def get_uri ( self , action , obj = None , date = None ) : if date is None : date = action . timestamp date = datetime_safe . new_datetime ( date ) . strftime ( '%Y-%m-%d' ) return 'tag:{},{}:{}' . format ( Site . objects . get_current ( ) . domain , date , self . get_url ( action , obj , False ) )