Le mar. 13 mars 2012 18:37:12 CET, Bruno Renié a écrit :
On Tue, Mar 13, 2012 at 9:08 AM, Rémy Hubscher<[email protected]>  wrote:
Bonjour,

Comment faire pour afficher les messages de warnings (import warning) dans
la console de Django ?

Il faut utiliser le switch -Wd :

python -Wd manage.py test

http://docs.python.org/using/cmdline.html#cmdoption-W
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django

Merci, c'est parfait :)
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django

Répondre à