aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/celery_setup
Commit message (Collapse)AuthorAgeFilesLines
* Now you can set CELERY_ALWAYS_EAGER environment variable so that youChristopher Allan Webber2011-05-201-0/+5
| | | | | | don't have to run celeryd at the same time. This should make Elrond happy ;)
* Factor out most of the database connection into db/open.pyElrond2011-05-191-6/+2
| | | | | | | | I needed to split the db connection/opening into open.py, due to an import loop: - util.py needs db/util.py:ObjectId - db/util.py would need db/models.py - db/models.py needs util.py:slugify
* Clean unused imports (found by pyflakes).Elrond2011-05-181-2/+1
|
* Renaming connect_database to connect_database_from_config and using in ↵Christopher Allan Webber2011-05-181-5/+3
| | | | from_celery
* Move models into new db/ directoryElrond2011-05-181-1/+2
| | | | | | | | The database is a central point of interest/discussion. Represent that by its own directory. This will surely become more interesting when we have migrations for example.
* Asbool the email debug mode optionChristopher Allan Webber2011-05-081-2/+2
|
* Only convert db port if it's there and use asint to do it (better errors if ↵Christopher Allan Webber2011-05-081-1/+5
| | | | failing)
* mgoblin_section.get, not app_config.get (doh)Christopher Allan Webber2011-05-081-1/+1
| | | | My name's Chris Webber and I ignore pyflakes warnings.
* Added an email debug mode which, by default, is enabledChristopher Allan Webber2011-05-071-0/+1
|
* Updated default sender addressJoar Wandborg2011-05-081-1/+1
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Made changes according to http://bugs.foocorp.net/issues/271#note-7Joar Wandborg2011-05-081-0/+4
| | | | Signed-off-by: Joar Wandborg <git@wandborg.com>
* Force imports of stuff like mediagoblin.process_media which has tasks we needChristopher Allan Webber2011-05-031-0/+6
|
* Register the models when using from_celeryChristopher Allan Webber2011-05-011-1/+2
|
* Now we have something useful: mediagoblin.celery_setup.from_celeryChristopher Allan Webber2011-05-011-0/+87
| | | | auto-configures a celery config module from your paste config
* tests for setup_celery_from_config()Christopher Allan Webber2011-04-301-1/+1
|
* A few more corrections to make setup_celery_from_config() work rightChristopher Allan Webber2011-04-301-7/+13
|
* Import based on the DEFAULT_SETTINGS_MODULE in setup_celery_from_configChristopher Allan Webber2011-04-301-6/+19
|
* Commit dummy_settings_module, of course.Christopher Allan Webber2011-04-241-0/+0
|
* setup_celery_from_config tool. Haven't tried if it works, but looks right...Christopher Allan Webber2011-04-241-0/+121