On Wed, Nov 23, 2011 at 2:01 PM, Jeff Heard <jefferson.r.he...@gmail.com> wrote:
> I have several django apps. all of which are in separate packages and can be
> installed seperately.  I would like them all to be sub-packages of a master
> package named "ga" So:
> ga.datacube
> ga.pyramid
> ga.sensorcollection
>  and so on.  The problem is that when I install them the packages never seem
> to show up.  My project structure looks like this:
> GA pyramid project:
> /home/jeff/ga/ga_pyramid/
> ga/
>   __init__.py        # contains "import pyramid"
>   pyramid/
         __init__.py #<<<< needs init
>       models.py
>       views.py
>       tasks.py
>       tests.py
>       urls.py
>       static/
>       templates/
>
> GA datacube project:
> /home/jeff/ga/ga_datacube/
> ga/
>   __init__.py        # contains "import datacube"
>   datacube/
         __init__.py #<<<< needs init and here
>       models.py
>       views.py
>       tasks.py
>       tests.py
>       urls.py
>       static/
>       templates/

Make sure you add the __init__.py s to magically transform it into a module

-- 
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.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to