Beispiel #1
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.name)
     r_ = super(Community, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #2
0
 def save(self, *args, **kwargs):
     r_ = super(Resource, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #3
0
 def save(self, *a, **kw):
     self.slug = slugify(self.name)
     r = super(Project, self).save(*a, **kw)
     index_object_for_search.send(sender=self, obj=self)
     return r
Beispiel #4
0
 def save(self, *args, **kwargs):
     r_ = super(Resource, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #5
0
 def save(self, *args, **kwargs):
     r = super(User, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     # log_data
     return r
Beispiel #6
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.name)
     r_ = super(Organization, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #7
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.title)
     r_ = super(Need, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #8
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.title)
     r_ = super(Need, self).save(*args, **kwargs)
     index_object_for_search.send(sender=self, obj=self)
     return r_
Beispiel #9
0
 def save(self, *a, **kw):
     self.slug = slugify(self.name)
     r = super(Project, self).save(*a, **kw)
     index_object_for_search.send(sender=self, obj=self)
     return r