コード例 #1
0
ファイル: models.py プロジェクト: GunioRobot/hubplus
 def __set__(self,profile,val):
     from apps.plus_feed.models import FeedItem
     FeedItem.post_STATUS(profile.user, profile.user,val)
コード例 #2
0
ファイル: forms.py プロジェクト: GunioRobot/hubplus
 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'])
コード例 #3
0
ファイル: models.py プロジェクト: GunioRobot/hubplus
 def __set__(self, profile, val):
     from apps.plus_feed.models import FeedItem
     FeedItem.post_STATUS(profile.user, profile.user, val)
コード例 #4
0
ファイル: forms.py プロジェクト: GunioRobot/hubplus
 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'])