gtfierro / walkthedinosaur

Batch SQL Job Scheduler/Emailer
7 stars 2 forks source link

`setup_environ` is deprecated in Django 1.6? #1

Closed gtfierro closed 10 years ago

gtfierro commented 10 years ago

When I try to run python run_jobs.py, I get the following error:

> python run_jobs.py                                        
Traceback (most recent call last):
  File "run_jobs.py", line 2, in <module>
    from django.core.management import setup_environ
ImportError: cannot import name setup_environ

I'm pretty sure this is just a one or two-line fix, so it would be good to have this done.

I'd like to eventually make the switch from an external python script to using Celery for the task management.