django/
__init__.py # empty
contrib/
__init__.py # empty
and in my packages line in setup.py I had just ['django'].
Now I seem to have overwritten all of django, because when I type python manage.py shell I get
"no module named core.management"
-- Jeff
-- On Wed, Nov 23, 2011 at 2:15 PM, DrBloodmoney <drbloodmoney@gmail.com> wrote:
On Wed, Nov 23, 2011 at 2:01 PM, Jeff Heard <jefferson.r.heard@gmail.com> wrote:__init__.py #<<<< needs init
> 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/
> models.py__init__.py #<<<< needs init and here
> 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/
> models.pyMake sure you add the __init__.py s to magically transform it into a module
> views.py
> tasks.py
> tests.py
> urls.py
> static/
> templates/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment