Re: using model classes without a server

2006-02-25 Thread Michael Twomey
On 23/02/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > That's exactly what we're discussing in the "validation-aware models" thread. > :) > Ack, now I see that thread :) thanks, Michael --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: using model classes without a server

2006-02-23 Thread Adrian Holovaty
On 2/20/06, Michael Twomey <[EMAIL PROTECTED]> wrote: > This is true, I've encountered this as well. You do get basic database > level validation of your queries which will catch the big sillies, but > I think the validation happens using the manipulators. Just trying it > now I've gotten some mil

Re: using model classes without a server

2006-02-20 Thread Michael Twomey
On 20/02/06, John Szakmeister <[EMAIL PROTECTED]> wrote: > One thing that I've found, at least on Django's trunk code, is that if you do > this, validation doesn't take place when you do model.save(). I tried > setting up a couple of fields as "required if other fields is present", and > it happil

Re: using model classes without a server

2006-02-20 Thread John Szakmeister
On Sunday 19 February 2006 13:36, Michael Twomey wrote: > On 19/02/06, xamdam <[EMAIL PROTECTED]> wrote: > > Django models can already be manipulated outside of the web app with > > manage.py shell > > I am looking for a way to have a regular python script (say, running a > > batch job) use the mo

Re: using model classes without a server

2006-02-19 Thread xamdam
Nice, thanks! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL P

Re: using model classes without a server

2006-02-19 Thread Michael Twomey
On 19/02/06, xamdam <[EMAIL PROTECTED]> wrote: > > Django models can already be manipulated outside of the web app with > manage.py shell > I am looking for a way to have a regular python script (say, running a > batch job) use the model classes. It seems like I just have to import > the right stuf

using model classes without a server

2006-02-19 Thread xamdam
Django models can already be manipulated outside of the web app with manage.py shell I am looking for a way to have a regular python script (say, running a batch job) use the model classes. It seems like I just have to import the right stuff (which 'shell' option does automagically), but I haven't