diff -r f7497180d037 -r 4095892a3c99 app/soc/models/job.py --- a/app/soc/models/job.py Sat Apr 18 14:04:11 2009 +0000 +++ b/app/soc/models/job.py Sat Apr 18 14:04:39 2009 +0000 @@ -23,10 +23,9 @@ from google.appengine.ext import db -from django.utils.translation import ugettext +from soc.models import base -from soc.models import base -from soc.models import priority_group +import soc.models.priority_group class Job(base.ModelWithFieldAttributes): @@ -35,8 +34,8 @@ #: reference to the priority group this job belongs to priority_group = db.ReferenceProperty( - reference_class=priority_group.PriorityGroup, required=True, - collection_name='jobs') + reference_class=soc.models.priority_group.PriorityGroup, + required=True, collection_name='jobs') #: the name of the task as defined in soc.cron.job task_name = db.StringProperty(required=True)