Vous n'êtes pas identifié(e).
Bonjour,
J'ai un problème que je ne comprend pas l'origine. En fait j'ai developpé une application avec django1.2 et tout fonctionnait jusqu'à ce que je fasse un update à la version 1.3 et depuis lors c'est la catastrophe. le processus d'authentification ne fonctionne plus et cela même pour le site admin , qui fonctionnait bien auparavant :
voici l'erreur
Caught SyntaxError while rendering: non-keyword arg after keyword arg (views.py, line 84)
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.3.1
Exception Type: TemplateSyntaxError
Exception Value:
Caught SyntaxError while rendering: non-keyword arg after keyword arg (views.py, line 84)
Exception Location: /usr/lib/python2.4/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path:
['/var/svn/stagiaire/plateforme/routage',
'/usr/lib64/python24.zip',
'/usr/lib64/python2.4',
'/usr/lib64/python2.4/plat-linux2',
'/usr/lib64/python2.4/lib-tk',
'/usr/lib64/python2.4/lib-dynload',
'/usr/lib64/python2.4/site-packages',
'/usr/lib64/python2.4/site-packages/Numeric',
'/usr/lib64/python2.4/site-packages/gtk-2.0',
'/usr/lib/python2.4/site-packages']
In template /var/svn/stagiaire/plateforme/routage/templates/admin/base.html, error at line 31 :
. {% url admin:password_change as password_change_url %}
Merci pour toute aide
Hors ligne
{% url apps.home.views.log_in %}
Hors ligne
merci j'ai reglé le problème.J'ai juste reécrit toutes les fonctions (les memes) de ma views.py et du coup sa donne. Merci
Hors ligne