request keyworded argument in Forms

View: New views
2 Messages — Rating Filter:   Alert me  

request keyworded argument in Forms

by Luca Sbardella :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Is there any reason why Form and ModelForm init methods does not have
request as a keyword argument?

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


Re: request keyworded argument in Forms

by Alex Gaynor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because django.forms isn't tied to django's http handling.

Alex

On Nov 5, 2009 11:26 AM, "lsbardel" <luca.sbardella@...> wrote:


Is there any reason why Form and ModelForm init methods does not have
request as a keyword argument?



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