Hum i cant spot the type expect the 500 as comments ?

i took off the line "from manipulators import RecetteManipulator" line
since i dont need  it anymore, it still doesnt raise the expected erro
when the file is more than 100kb. hum maybe its somwthing to do with
the form template

print recettes.AddManipulator().fields
[FormField "nom", FormField "categorie", FormField "auteur", FormField
"ingredients", FormField "etapes", FormField "conseils", FormField
"dure", FormField "difficulte", FormField "quantite", FormField "prix",
FormField "pub_date", FormField "image_file", FormField "image"]

I thought it may come from the template :

        <form enctype="multipart/form-data"  method="post" action=".">
        <fieldset>
                <legend>Details </legend>
                {% if form.nom.errors %}*** {{ form.nom.errors|join:", " }}{% 
endif
%}
                <p><label for="id_nom">Nom de la recette: <span
class="recquired">*</span></label> {{form.nom}} </p>
                <p><label for="id_auteur">Auteur: <span
class="recquired">*</span></label> {{form.auteur}}</p>
                <p><label for="id_categorie">Categorie: <span
class="recquired">*</span></label> {{form.categorie}}</p>
                <p><label for="id_dure">Dure (min): </label> {{form.dure}}</p>
                <p><label for="id_quantite">Quantite: </label> 
{{form.quantite}}</p>
                <p><label for="id_difficulte">Difficulte: <span
class="recquired">*</span></label> {{form.difficulte}}</p>
                <p><label for="id_prix">Prix (cfp): </label> {{form.prix}}</p>
                <p><label for="id_image">Photo du plat fini:
</label>{{form.image_file}}{{ form.image }}   <i>(100*100
pixels)</i></p>
        </fieldset>


        <fieldset>
                <legend>Contenant</legend>
                <p><label for="id_ingredients">Ingredients: <span
class="recquired">*</span></label>
                        <i>Nom de l'ingredient suivi de son poid, quantite, ou
volume.</i><br />{{form.ingredients}}</p>
                <p><label for="id_etapes">Etapes: <span
class="recquired">*</span></label> {{form.etapes}}</p>
                <p><label for="id_conseils">Conseils et astuces: </label>
{{form.conseils}}</p>
        </fieldset>

        <p><input type="submit" value="Enregistrer" /></p>
        </form>

so close.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to