Pilsburgh / django-forum

Automatically exported from code.google.com/p/django-forum
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Switch to django.forms #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to use django.forms. So I've started the work with the 
following patch.

It could be improved and I will try to provide another patchs as soon as I have 
done it.

Original issue reported on code.google.com by xphuture on 29 Oct 2008 at 11:19

Attachments:

GoogleCodeExporter commented 9 years ago
I have committed this as-is in svn rev 27, however it still requires some error
checking. EG if you hit the 'reply' view with either a 'GET' method, or with an
invalid form, you get a Null response rather than an error page.

Can you please provide an updated patch off r27 that provides that error 
checking?

Original comment by rwpoul...@gmail.com on 3 Nov 2008 at 10:45

GoogleCodeExporter commented 9 years ago
Here is a patch that make the processing of the form in the view where their 
are created

I've also refactored the code a little (with a manager, a function to send mail)

Original comment by xphuture on 3 Nov 2008 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
Forum now uses newforms for everything as of SVN r33.

Original comment by rwpoul...@gmail.com on 30 Dec 2008 at 1:39