On Fri, Aug 14, 2009 at 9:08 AM, Marcos Daniel Petry
<[email protected]>wrote:

> I don't know if you can do this, but someone will know ...
>
> I have an app that works similar to a flatpage, the user registers a
> content and an url address in the database, and this record is displayed on
> a page, allowing the addition of User post html tags, certain Django
> filters. The problem is when the user misses one of these filters, I would
> like to implement a kind of validation, showing where the error is,
> something similar to the debug Django, showing where the line is, not an
> "Internal Server Error"
>

Would form validation work?
http://docs.djangoproject.com/en/dev/ref/forms/validation/

You can check the form and then return the form with errors, so everything
is validated.

Hope that helps,

Michael

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

Reply via email to