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

More information for the custom backend #92

Merged
merged 9 commits into from Feb 24, 2015
Merged

Conversation

pypingou
Copy link
Member

Fixes #71

@@ -82,6 +82,7 @@ def test_add_distro(self):
sess['email'] = 'pingou@pingoured.fr'

output = c.get('/distro/add', follow_redirects=True)
print output.data
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this something left over from testing, or should this now always be in the tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

Left over from testing indeed, but not a problem when ran with runtests.sh (cuts stdout unless the test breaks)

$('#example_txt').append(
'<br /> More information in the '
+ '<a href="{{ url_for("about") }}#test-you-regex">'
+ 'about#test-you-regex</a>'
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe also make this use url_for?

Copy link
Member Author

Choose a reason for hiding this comment

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

?

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought you previously displayed the full URL. Never mind the comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

I did, but url_for will not show the full url, it will just give /about, which I thought was even worse than just about#...

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, that's true.

This will make the page lighter and thus easier to load but also easier
to read when looking at the sources
@puiterwijk
Copy link
Contributor

👍

@pypingou
Copy link
Member Author

Thanks !

pypingou added a commit that referenced this pull request Feb 24, 2015
More information for the custom backend
@pypingou pypingou merged commit 200fcc1 into master Feb 24, 2015
@pypingou pypingou deleted the more_info_custombg branch February 24, 2015 14:16
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.

add link to regexp help
2 participants