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

ZEP-25 : Corrige la commande de migration + instructions MEP #3485

Merged
merged 1 commit into from
Apr 3, 2016
Merged

ZEP-25 : Corrige la commande de migration + instructions MEP #3485

merged 1 commit into from
Apr 3, 2016

Conversation

GerardPaligot
Copy link
Member

Q R
Type de modification correction de bug
Ticket(s) (issue(s)) concerné(s) #3482

QA

À tester en beta.

Corrigé :

  • Ajout des infos pour les tables à supprimer en beta/prod
  • Correction utf8 parce que ça passe sur ma machine mais pas sur les serveurs, allez comprendre
  • Correction pour les tags trop longs

Note @SpaceFox il faut réimporter la BDD de la beta car je l'ai un peu cassé niveau contenus/tags et surtout pour s'assurer que la commande est OK sur la prod.

@coveralls
Copy link

Coverage Status

Coverage increased (+16.4%) to 87.337% when pulling 78b84a0 on GerardPaligot:fix-zep25 into e5cee41 on zestedesavoir:release-v18.

@@ -5,10 +5,10 @@
from django.db import transaction
from django.shortcuts import get_object_or_404
from django.utils.encoding import smart_text
from django.utils.text import slugify
Copy link
Member Author

Choose a reason for hiding this comment

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

@gustavi J'ai fais cette modification dans ta PR parce que flake8 n'était pas content. Tu me confirmes que c'était la bonne chose à faire ? J'importe from zds.utils import slugify un peu plus bas.

Copy link
Contributor

Choose a reason for hiding this comment

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

si ça marche c'est good pour moi :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Dans la mesure où on utilise jamais from django.utils.text import slugify dans le projet, je suppose que oui. :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Et c'est toi qui a importé from zds.utils import slugify dans ta seconde version de ton script de migration mais tu avais laissé celui-ci aussi. Du coup, flake8 n'était pas content. J'ai choisi celui qu'on utilise partout entre les 2.

Copy link
Contributor

Choose a reason for hiding this comment

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

pas de souci, j'ai codé ça rapidement et il était tard :)

@SpaceFox SpaceFox merged commit 7d1e2c5 into zestedesavoir:release-v18 Apr 3, 2016
@GerardPaligot GerardPaligot deleted the fix-zep25 branch April 3, 2016 15:00
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.

4 participants