User Tools

Site Tools


astuces_django

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
astuces_django [2010/07/21 11:33] ginkoastuces_django [2010/10/08 17:08] ginko
Line 5: Line 5:
   * L'API de pagination [[http://www.djangoproject.com/documentation/models/pagination/]]   * L'API de pagination [[http://www.djangoproject.com/documentation/models/pagination/]]
   * [[http://www.djangobook.com/en/beta/chapter04/|Chapitre sur les templates du Djangobook]]   * [[http://www.djangobook.com/en/beta/chapter04/|Chapitre sur les templates du Djangobook]]
 +  * [[http://www.djangobook.com/en/2.0/chapter07/|Chapitre sur les forms du Djangobook]], on retiendra cette astuce pas mauvaise: la redirection après validation d'un formulaire (évite le "double postage" par rafraichissement de la page).
   * Générer du contenu non-HTML [[http://www.djangobook.com/en/1.0/chapter11/|Chapitre du Djangobook sur le sujet]]   * Générer du contenu non-HTML [[http://www.djangobook.com/en/1.0/chapter11/|Chapitre du Djangobook sur le sujet]]
   * Faire un [[http://push.cx/2007/django-template-tag-for-dictionary-access|filter]] pour accéder à des attributs d'un objet dans un dictionnaire dans un template   * Faire un [[http://push.cx/2007/django-template-tag-for-dictionary-access|filter]] pour accéder à des attributs d'un objet dans un dictionnaire dans un template
 +  * [[http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/|Lancer un script Django en StandAlone]]
  
astuces_django.txt · Last modified: 2010/10/12 10:50 by ginko