Skip to content

Conversation

@djangodeveloper96
Copy link
Owner

Thanks for contributing to Wagtail! 🎉

Before submitting, please review the contributor guidelines https://docs.wagtail.io/en/latest/contributing/index.html and check the following:

  • Do the tests still pass? (https://docs.wagtail.io/en/latest/contributing/developing.html#testing)
  • Does the code comply with the style guide? (Run make lint from the Wagtail root)
  • For Python changes: Have you added tests to cover the new/fixed behaviour?
  • For front-end changes: Did you test on all of Wagtail’s supported environments?
    • Please list the exact browser and operating system versions you tested.
    • Please list which assistive technologies you tested.
  • For new features: Has the documentation been updated accordingly?

gasman and others added 30 commits November 15, 2014 16:56
…ce images, and catch that in InageNode.render so that we're not masking unrelated IOErrors elsewhere in the get_rendition process
… exactly 2 arguments (1 given)' error for RoutablePage previews
…ake the fix into a shared _to_rgb helper method
Fixes #837

When copying a page, all of its revisions are also copied. The revisions
are JSON encoded and include ID fields which point back to the original
page object. These IDs weren't being updated when the revision was
copied to a new page causing the editor to break when that new page is
edited.
This serves two purposes:
 * It makes sure update_attrs gets applied to the latest revision so the
   changes are reflected in the editor
 * It bumps the last_revision_created_at value so the new page gets
   ordered as if it was just created
This is used for setting the owner of the new pages and the user for the
new revision that gets created

Conflicts:
	wagtail/wagtailadmin/views/pages.py
gasman and others added 30 commits June 3, 2015 11:45
Conflicts:
	wagtail/wagtailforms/tests.py
Conflicts:
	wagtail/wagtailforms/models.py
Less complicated and a bit more isolated now

Conflicts:
	wagtail/wagtailembeds/tests.py
Conflicts:
	wagtail/wagtailembeds/tests.py
Conflicts:
	wagtail/wagtailembeds/tests.py
 - Removed catch all blocks
 - get_embed never returns None so removed check for that
Conflicts:
	wagtail/wagtailembeds/tests.py
Conflicts:
	wagtail/wagtailembeds/embeds.py
Conflicts:
	wagtail/wagtailcore/tests/test_page_model.py
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.