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

Typo suggestions de recherche #3292

Merged
merged 2 commits into from Jan 12, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -45,7 +45,7 @@ def home(request):

try:
with open(os.path.join(BASE_DIR, 'suggestions.txt'), 'r') as suggestions_file:
suggestions = ', '.join(random.sample(suggestions_file.readlines(), 5)) + ', ...'
suggestions = ', '.join(random.sample(suggestions_file.readlines(), 5)) + '...'

This comment has been minimized.

Copy link
@Emeric54

Emeric54 Jan 12, 2016

Member

J'étais pourtant persuadé que c'était bien comme ça. Mais n'étant pas expert de ces règles...

except IOError:
suggestions = 'Mathématiques, UDK, HTML, Java, Python'

This comment has been minimized.

Copy link
@Emeric54

Emeric54 Jan 12, 2016

Member

Du coup, on peut en profiter pour rajouter les « ... » ici tant que l'on y est ? Bon, c'est vraiment des détails...

This comment has been minimized.

Copy link
@Vayel

Vayel Jan 12, 2016

Author Contributor

J'en ai profité pour diversifier les suggestions par défaut, qu'on ne se croie pas sur un site d'informatique.

This comment has been minimized.

Copy link
@Emeric54

Emeric54 Jan 12, 2016

Member

Super ! J'avais laissé les anciennes suggestions. Il y a très peu de chance que l'on tombe sur ces suggestions, mais sait-on jamais.


ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.