maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH 1/6] Extend MapRenderingJob with stylesheet, pa


From: Thomas Petazzoni
Subject: [Maposmatic-dev] [PATCH 1/6] Extend MapRenderingJob with stylesheet, papersize and layout
Date: Thu, 5 Aug 2010 00:54:22 +0200

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 <address@hidden>
---
 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

[Prev in Thread] Current Thread [Next in Thread]