On 1/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
i started reimplementing my old manipulators code using newforms. Can u
guys give me some feedback on my usage of it?

What i wrote seems to me a lot of code for a 3 field form (even though
part of the bloat is due to date formatting)

Here's the code:
http://dpaste.com/hold/4382/

Also, delete_academic_year() should check request.method == 'POST'. As
it stands, anybody who visits that page via GET will cause deletion.
Deletion should only happen via POST.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to