thanks for the reply... adding the empty __init__.py file worked. I
like Rubics idea aswell. Importing extra utilities could prove very
flexible.
thanks again :)
-- stefan
On Jan 10, 2007, at 15:54, Nathan R. Yergler wrote:
>
> Did you add a file named __init__.py to the views directory you
Stefan Foulis wrote:
> what I'm trying to do is divide up the views.py file into multiple
> files because the single views.py file in some of my apps is getting
> very cluttered.
>
> I tried just making a views subdirectory and then placing multiple
> files with groups of views inside
Ditto to wh
Did you add a file named __init__.py to the views directory you created?
This file tells Python to treat the directory as a package and allow
traversal into the view file.
NRY
Stefan Foulis wrote:
> I searched around the django documentation and didn't find anything
> about this...
>
> what
I searched around the django documentation and didn't find anything
about this...
what I'm trying to do is divide up the views.py file into multiple
files because the single views.py file in some of my apps is getting
very cluttered.
I tried just making a views subdirectory and then placin
4 matches
Mail list logo