commit | 5cbec5d15523cba0b195055e16b04a62ac59d272 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 02 07:55:11 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 02 07:55:11 2013 -0400 |
tree | 75f10021c970f1393b49a8d42864779a2c235ace | |
parent | 09078f07f54b80b933f5d1c7ac0f66ee161820ba [diff] |
set django_settings_module path
diff --git a/plstackapi/core/models.py b/plstackapi/core/models.py index ec18626..5293251 100644 --- a/plstackapi/core/models.py +++ b/plstackapi/core/models.py
@@ -1,6 +1,8 @@ +import os from django.db import models from plstackapi.openstack.driver import OpenStackDriver +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "plstackapi.planetstack.settings") # Create your models here. class PlCoreBase(models.Model):