Change the default value of date_published to null
This commit is contained in:
parent
4503a14b4f
commit
a628220e3d
8 changed files with 290 additions and 19 deletions
|
|
@ -275,6 +275,7 @@ class ModelsTest(BaseTest):
|
|||
post = self._get_post(self._post_data[0]['en'])
|
||||
post = self._get_post(self._post_data[0]['it'], post, 'it')
|
||||
post.main_image = self.create_filer_image_object()
|
||||
post.publish = True
|
||||
post.save()
|
||||
post.set_current_language('en')
|
||||
meta_en = post.as_meta()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue