Skip to content
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

Eliminate use of re_path from integration docs #7351

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

gasman
Copy link
Collaborator

@gasman gasman commented Jul 20, 2021

Using re_path for the page serve view is unnecessary (the project template doesn't do it) and will be increasingly unfamiliar to new Django devs as path becomes more widespread.

Using `re_path` for the page serve view is unnecessary (the project template doesn't do it) and will be increasingly unfamiliar to new Django devs as `path` becomes more widespread.
@squash-labs
Copy link

squash-labs bot commented Jul 20, 2021

Manage this branch in Squash

Test this branch here: https://docsintegration-remove-repath-lz6np.squash.io

Copy link
Contributor

@zerolab zerolab left a comment

Choose a reason for hiding this comment

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

❤️

Note that there's one small difference when not using the Wagtail project template: Wagtail creates an initial homepage of the basic type `Page`, which does not include any content fields beyond the title. You'll probably want to replace this with your own `HomePage` class - when you do so, ensure that you set up a site record (under Settings / Sites in the Wagtail admin) to point to the new homepage.
Copy link
Contributor

Choose a reason for hiding this comment

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

note: this is some kind of whitespace change but for the life of me can't spot what it is

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Apparently there was no newline at the end of the file in the old version. (I used the Github online editor to make this change, so that must add it automatically...)

Copy link
Contributor

Choose a reason for hiding this comment

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

I could swear the diff view in GitHub used to show the lack of EOF new lines. Oh well 😂

@gasman gasman merged commit 8cfc16d into main Jul 20, 2021
@gasman gasman deleted the docs/integration-remove-repath branch July 20, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants