MCPcopy
hub / github.com/liangliangyy/DjangoBlog / save

Method save

blog/models.py:402–405  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

400 raise ValidationError(_('There can only be one configuration'))
401
402 def save(self, *args, **kwargs):
403 super().save(*args, **kwargs)
404 from djangoblog.utils import cache
405 cache.clear()

Callers 2

get_blog_settingFunction · 0.95
setUpMethod · 0.95

Calls 2

saveMethod · 0.45
clearMethod · 0.45

Tested by 1

setUpMethod · 0.76