Most comment systems that I know of allow the commenter to optionally supply an e-mail address and/or a URL along with their comment for attribution or administrator records. I thought it would be really handy to have in Django's free comments, in an optional, fully backwards-compatible, and non-obtrusive way.
Ticket #2228 includes a patch and a sample project which uses the optional e-mail and url fields. However, the only problem at this point is that my patch doesn't do any sort of e-mail address or URL format validation (i.e. are they well-formed and not just random junk?) I couldn't find where I should include this sort of field validation in the contrib.comments code, so perhaps someone can point me in the right direction and I'll throw in some simple RegEx validators with validation error messages. Let me know what you guys think. Regards, Tyson -- Tyson Tate * Graphic Designer, CalPoly Library * Assistant Librarian & Member, Mustang Band * Team Member, CalPoly Triathlon Team * Webmaster & Active, Kappa Kappa Psi * Freelance Graphic Designer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers -~----------~----~----~----~------~----~------~--~---
