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

Fixed #22635 -- Make "It worked!" page localizable #2682

Merged
merged 1 commit into from
May 19, 2014
Merged

Fixed #22635 -- Make "It worked!" page localizable #2682

merged 1 commit into from
May 19, 2014

Conversation

alimony
Copy link
Contributor

@alimony alimony commented May 18, 2014

No description provided.

@@ -511,7 +512,20 @@ def technical_404_response(request, exception):
def default_urlconf(request):
"Create an empty URLconf 404 error response."
t = Template(DEFAULT_URLCONF_TEMPLATE, name='Default URLconf template')
c = Context({})

# The "It worked!" page should be localized, which happens by inserting
Copy link
Member

Choose a reason for hiding this comment

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

These comments seem unnecessary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove it and make a new pull request.

Copy link
Member

Choose a reason for hiding this comment

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

You can amend a PR, no need for a new one. see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/

Feel free to ask in #django-dev if you have any problems.

@timgraham
Copy link
Member

The commit message should be in past tense (Make -> Made). Also the "Fixed" bit is only in the PR title, not the actual commit message.

@alimony
Copy link
Contributor Author

alimony commented May 18, 2014

Pushed to the branch, with fixes for all comments so far.

claudep added a commit that referenced this pull request May 19, 2014
Fixed #22635 -- Make "It worked!" page localizable
@claudep claudep merged commit 813ded7 into django:master May 19, 2014
@alimony alimony deleted the welcome_page_local_02 branch May 19, 2014 20:33
@aj-may
Copy link

aj-may commented Jun 12, 2014

Looks like this may have caused a regression. The <code> tags have been escaped.

@claudep
Copy link
Member

claudep commented Jun 12, 2014

Thanks, fixed in 43372fc

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.

5 participants