Re: Django: Add SET DATESTYLE

2009-08-11 Thread Bdfy
class ModelForm(forms.Form): test_date = forms.DateField(required=False) ,,, INSERT INTO SQL: obj.test_date = test_date All OK for default format ( 2009-12-31 ). But for InputFormat "30.12.2009" - error. How to change InputFormat for all forms in application ? On 10 авг, 20:08, Karen

Re: Django: Add SET DATESTYLE

2009-08-10 Thread Karen Tracey
On Mon, Aug 10, 2009 at 12:00 PM, Bdfy wrote: > > How to add a phrase "SET DATESTYLE =" bla-bla-bla "" for everyone SQL > query ? > Why do you think you want to do that? The Django ORM takes the date(time) values coming from the database and converts them do Python

Django: Add SET DATESTYLE

2009-08-10 Thread Bdfy
How to add a phrase "SET DATESTYLE =" bla-bla-bla "" for everyone SQL query ? --~--~-~--~~~---~--~~ 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