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

Method save

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

Source from the content-addressed store, hash-verified

144 return names
145
146 def save(self, *args, **kwargs):
147 super().save(*args, **kwargs)
148
149 def viewed(self):
150 self.views += 1

Callers 15

test_validate_articleMethod · 0.95
viewedMethod · 0.95
test_validate_commentMethod · 0.95
test_validate_accountMethod · 0.95
test_validate_commentMethod · 0.95
createMethod · 0.45
rebuildMethod · 0.45
update_docsMethod · 0.45
test_commandsMethod · 0.45
saveMethod · 0.45
saveMethod · 0.45

Calls

no outgoing calls

Tested by 13

test_validate_articleMethod · 0.76
test_validate_commentMethod · 0.76
test_validate_accountMethod · 0.76
test_validate_commentMethod · 0.76
test_commandsMethod · 0.36
handleMethod · 0.36
test_oauth_login_testMethod · 0.36
init_appsMethod · 0.36