git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2f502
)
Added a new field called 'backend_status' to the core model. This field
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 29 Apr 2014 01:06:39 +0000
(21:06 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 29 Apr 2014 01:06:39 +0000
(21:06 -0400)
is to be used by the Observer to convey the status of object
provisioning to the end user.
planetstack/core/models/plcorebase.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/plcorebase.py
b/planetstack/core/models/plcorebase.py
index
7251a81
..
f7fdf8a
100644
(file)
--- a/
planetstack/core/models/plcorebase.py
+++ b/
planetstack/core/models/plcorebase.py
@@
-21,6
+21,8
@@
class PlCoreBase(models.Model):
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
enacted = models.DateTimeField(null=True, default=None)
+ backend_status = models.CharField(max_length=140,
+ default="Ok")
class Meta:
abstract = True