タグ

ブックマーク / www.rossp.org (1)

  • Dynamic ModelForms in Django

    For an ongoing project I am implementing basic advertising functionality, where I define a number of positions in the page and advertisers can self-serve to create an advertisement to fit those positions. Each 'Position' can have different attributes turned on or off. For example, a 'sidebar' ad may permit an image and link text, however a 'footer' ad may only contain link text. When the user crea

    IanLewis
    IanLewis 2009/01/23
    Making forms dynamic by dealing インスタンスを作成する時にフィールドの存在を動的に判断しる方法。
  • 1