[GeoNode-devel] celery_app

Simone Dalmasso simone.dalmasso at gmail.com
Thu May 21 01:27:00 PDT 2015


Cool, thanks for the clarification Paolo!

2015-05-21 10:20 GMT+02:00 Paolo Corti <pcorti at gmail.com>:

> This is the way Celery has to be added to the project, though
> importing the Celery app in the main __init__.py seems to be the
> recommended approach:
> http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
>
> cheers
> p
>
> On Wed, May 20, 2015 at 6:00 PM, Simone Dalmasso
> <simone.dalmasso at gmail.com> wrote:
> > Ok but what the celery_app file is for? the task seems to just use
> celery,
> > and celery_app.app is not used in the settings. Is there some kind of
> > automatic usage?
> >
> > 2015-05-20 17:55 GMT+02:00 Paolo Corti <pcorti at gmail.com>:
> >>
> >> I think it is used for tasks such as Web Service harvesting:
> >>
> https://github.com/GeoNode/geonode/blob/master/geonode/services/tasks.py
> >>
> >> though it will not be used until the tasks are effectively created
> >> using the admin, if I remember properly
> >> cheers
> >> p
> >>
> >> On Wed, May 20, 2015 at 5:46 PM, Simone Dalmasso
> >> <simone.dalmasso at gmail.com> wrote:
> >> > Matt, you are right, it doesn't seems to be used. I think we could
> >> > comment
> >> > it? @garnertb?
> >> >
> >> > 2015-05-18 20:26 GMT+02:00 Matt Hanson <matt.a.hanson at gmail.com>:
> >> >>
> >> >> Hey guys,
> >> >>
> >> >> The import of celery_app in the settings file causes some issues.
> For
> >> >> one, it doesn't even appear to be used, and second, it's trying to
> >> >> import it
> >> >> directly as celery_app rather than geonode.celery_app which is the
> >> >> convention for all other apps included within geonode.
> >> >>
> >> >> Was this something added as a work in progress, or is it needed?
> >> >>
> >> >> matt
> >> >>
> >> >> _______________________________________________
> >> >> geonode-devel mailing list
> >> >> geonode-devel at lists.osgeo.org
> >> >> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Simone
> >> >
> >> > _______________________________________________
> >> > geonode-devel mailing list
> >> > geonode-devel at lists.osgeo.org
> >> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
> >> >
> >>
> >>
> >>
> >> --
> >> Paolo Corti
> >> Geospatial software developer
> >> web: http://www.paolocorti.net
> >> twitter: @capooti
> >> skype: capooti
> >
> >
> >
> >
> > --
> > Simone
>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20150521/c59d8c55/attachment.html>


More information about the geonode-devel mailing list