Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_setting
Function · 0.95
setUp
Method · 0.95
Calls
2
save
Method · 0.45
clear
Method · 0.45
Tested by
1
setUp
Method · 0.76