8000 Remove logic which publishes the first page page as soon as it is created by Aiky30 · Pull Request #6446 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

Remove logic which publishes the first page page as soon as it is created #6446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 13, 2018

Conversation

Aiky30
Copy link
Contributor
@Aiky30 Aiky30 commented Jul 12, 2018
  • Remove logic in forms which publishes the first page of a site
  • Remove tests that check for this

@@ -265,6 +265,7 @@ def get_new_page_data(self, parent_id=''):
'title': 'test page %d' % self.counter,
'slug': 'test-page-%d' % self.counter,
'parent_node': parent_id,
'publish': True, # Temp added as most tests require the first page to be published
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a field on the form, is not used.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 78.189% when pulling afb8896 on Aiky30:remove-first-page-publish into 14110d0 on divio:release/4.0.x.

@czpython czpython merged commit cf442f7 into django-cms:release/4.0.x Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0