def __set__(self,profile,val): from apps.plus_feed.models import FeedItem FeedItem.post_STATUS(profile.user, profile.user,val)
def save(self): if self.cleaned_data['text'] : # only bother if there's something in it FeedItem.post_STATUS(self.sender,self.cleaned_data['text'])
def __set__(self, profile, val): from apps.plus_feed.models import FeedItem FeedItem.post_STATUS(profile.user, profile.user, val)
def save(self): if self.cleaned_data['text']: # only bother if there's something in it FeedItem.post_STATUS(self.sender, self.cleaned_data['text'])