In [1]: t1 = "маша ела кашу"
In [2]: t2 = "маша ела суп"
In [3]: set(t1.lower().split()) ^ set(t2.lower().split())
Out[3]: {'кашу', 'суп'}
class Project(models.Model):
# ***
def members_dict(self):
return { 'basic_members': self.members, 'managers': self.managers}
class ProjectMembers(models.Model):
member = ForeignKey(Member)
progect = ForeignKey(Progect)
is_manager = BooleanField(default=False)
заметный выигрыш, то да
my_storm() {
bash $HOME/WebStorm-162.1812.21/bin/webstorm.sh &!
}
alias my_storm="bash $HOME/WebStorm-162.1812.21/bin/webstorm.sh &!"