Re: importing all forms/models etc with one statement

2008-11-23 Thread dash86no
Cheers Malcom, that sounds like solid advice. Actually, I went through a few online Python tutorials a couple of months ago, enough to write some basic apps. I had though that that was going to carry my through this Django adventure but obviously I need a brush up! Cheers, On Nov 24, 2:01 pm, M

Re: importing all forms/models etc with one statement

2008-11-23 Thread dash86no
Andy, Thanks. That was exactly what I was looking for. I'll be sure to check out that link too. On Nov 24, 1:35 pm, Andy Young <[EMAIL PROTECTED]> wrote: > On Nov 23, 8:31 pm, dash86no <[EMAIL PROTECTED]> wrote: > > > Is there no way to call all models implicitly. For example: > > > from mysite

Re: importing all forms/models etc with one statement

2008-11-23 Thread Malcolm Tredinnick
On Sun, 2008-11-23 at 19:31 -0800, dash86no wrote: > I have around 15 or so models in my system, and I find it pretty > tedious to have to explicitly import each and every one into my > forms.py etc. > > Is there no way to call all models implicitly. For example: > > from mysite.myapp import mo

Re: importing all forms/models etc with one statement

2008-11-23 Thread Andy Young
On Nov 23, 8:31 pm, dash86no <[EMAIL PROTECTED]> wrote: > Is there no way to call all models implicitly. For example: > > from mysite.myapp import models > PS. I tried looking round the documentation. I found > this:http://www.djangobook.com/en/1.0/chapter08/ > > from django.conf.urls.defaults im

importing all forms/models etc with one statement

2008-11-23 Thread dash86no
I have around 15 or so models in my system, and I find it pretty tedious to have to explicitly import each and every one into my forms.py etc. Is there no way to call all models implicitly. For example: from mysite.myapp import models PS. I tried looking round the documentation. I found this: h