Those new fields will be used to store the parameters for a given
rendering. All three parameters are defined as strings, which are the
unique identifiers. Those identifiers will later be provided by
OCitySMap.

Signed-off-by: Thomas Petazzoni <[email protected]>
---
 www/maposmatic/models.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/www/maposmatic/models.py b/www/maposmatic/models.py
index 6f13c2d..15f0a3f 100644
--- a/www/maposmatic/models.py
+++ b/www/maposmatic/models.py
@@ -82,6 +82,9 @@ class MapRenderingJob(models.Model):
     NONCE_SIZE = 16
 
     maptitle = models.CharField(max_length=256)
+    stylesheet = models.CharField(max_length=256)
+    layout = models.CharField(max_length=256)
+    papersize = models.CharField(max_length=256)
 
     # When rendering through administrative city is selected, the
     # following three fields must be non empty
-- 
1.7.0.4


Reply via email to