regluit/core
Raymond Yee 206c7ebcd4 I've added a send_email_task to wrap django.core.mail.send_mail -- I'm using it for testing but I think it could be useful in general.
I've used it to test celerybeat.  In my local me.py, I added the following setting:

CELERYBEAT_SCHEDULE = {
    "runs-every-30-seconds": {
        "task": "regluit.core.tasks.send_mail_task",
        "schedule": datetime.timedelta(seconds=60),
        "args": ('hi there', 'testing 1, 2, 3', 'raymond.yee@gmail.com', ['raymond.yee@gmail.com'])
    },
}

and then ran

	django-admin.py celerybeat -l INFO

and started getting email sent to me every minute!
2012-03-30 17:31:54 -07:00
..
fixtures modified default premiums to make them implementable via existing profile 2012-03-22 17:05:39 -04:00
management [#22561067] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+ 2012-03-09 00:45:39 +00:00
migrations Added management of custom premiums. (migration needed) [finish #26921893] 2012-03-26 15:32:23 -04:00
__init__.py setup api, core and frontend apps, also added initial homepage template from stefan 2011-08-30 23:46:55 -04:00
bookloader.py [#22561067] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+ 2012-03-09 00:45:39 +00:00
feeds.py while mucking around, set feed to atom to match type I set in autodiscovery link [#26402939] 2012-03-20 13:53:53 -04:00
goodreads.py changed core.tasks to not use models 2012-02-16 13:19:36 -05:00
isbn.py Changed the isbn.ISBN class to not throw exceptions on invalid ISBNs but rather return None at various places 2012-02-08 09:19:17 -08:00
librarything.py changed core.tasks to not use models 2012-02-16 13:19:36 -05:00
lookups.py woo hoo! autocomplete input on rightsholder creation form. uses app django-selectable 2011-11-18 09:24:31 -05:00
models.py Hooking in djcelery admin to our admin interface 2012-03-30 12:27:35 -07:00
search.py added endless scroll for search results 2012-02-04 16:06:53 -08:00
signals.py Notification back to working on celery startup. Not quite solved. but here's where it is. [#27115145] 2012-03-30 03:07:23 -04:00
tasks.py I've added a send_email_task to wrap django.core.mail.send_mail -- I'm using it for testing but I think it could be useful in general. 2012-03-30 17:31:54 -07:00
tests.py I had missed dependencies on datetime.datetime now/utnow -- replaced it with regluit.utils.localdatetime.now() 2012-03-09 15:31:30 -08:00
userlists.py userlist queries now only look at first 100 works 2012-02-11 19:08:05 -05:00
views.py setup api, core and frontend apps, also added initial homepage template from stefan 2011-08-30 23:46:55 -04:00