Tu aurais le traceback ?
A priori le problème lié à ce traceback viendrait plutôt de
'/home/yves/workspace/StagesIUT' dans la méthode save() du models
peut-être ?
Le 02/04/2013 11:02, Bourhis Yves a écrit :
Le 02/04/2013 10:31, Rodrigue Villetard a écrit :
Une deuxième piste, suite à la migration, as-tu modifié le manage.py en
conséquence ?
Que faut-il y changer ?
J'ai essayer de créer un nouveau projet et je ne vois pas de
différences dans le fichier "manage.py" généré...
Pour répondre à Rémy Hubscher le message d'erreur peut être soit :
TypeError at /admin/stages/datedebut/add/
expected a character buffer object
Request Method: POST
Request URL: http://localhost:8000/admin/stages/datedebut/add/?_popup=1
Django Version: 1.5.1
Exception Type: TypeError
Exception Value:
expected a character buffer object
Exception Location:
/usr/local/lib/python2.7/dist-packages/django/utils/html.py in
escapejs, line 65
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/home/yves/workspace/StagesIUT',
'/usr/local/lib/python2.7/dist-packages/csvImporter-0.1.3.2-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/geopy-0.94.2-py2.7.egg',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
Server time: mar, 2 Avr 2013 10:59:58 +0200
soit le "standard" quand il ne trouve pas de correspondance dans
"urls.py"...
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django