astuces_django
This is an old revision of the document!
Astuces pour Django
- Customiser la classe (ou autre attr) d'un widget dans un form: http://docs.djangoproject.com/en/dev/ref/forms/widgets/#customizing-widget-instances
- Ajouter de jolis aides pour les champs date et time, comme ceux de django.admin; une piste de reflexion: http://stackoverflow.com/questions/38601/using-django-time-date-widgets-in-custom-form
- Controler les transactions http://docs.djangoproject.com/en/dev/topics/db/transactions/#controlling-transaction-management-in-views
- L'API de pagination http://www.djangoproject.com/documentation/models/pagination/
astuces_django.1279703051.txt.gz · Last modified: 2010/07/21 11:04 by ginko