[Top][All Lists]
[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
- [Maposmatic-dev] [PATCH 1/6] Extend MapRenderingJob with stylesheet, papersize and layout,
Thomas Petazzoni <=
- [Maposmatic-dev] [PATCH 2/6] Implement a skeleton /papersize/ service, Thomas Petazzoni, 2010/08/04
- [Maposmatic-dev] [PATCH 3/6] Add a get_bbox_from_osm_id() helper, Thomas Petazzoni, 2010/08/04
- [Maposmatic-dev] [PATCH 4/6] Add layout, stylesheet and papersize to MapRenderingForm, Thomas Petazzoni, 2010/08/04
- [Maposmatic-dev] [PATCH 6/6] Implement a brand new wizard for map creation, Thomas Petazzoni, 2010/08/04
- [Maposmatic-dev] [PATCH 5/6] Upgrade jquery to 1.4.2, Thomas Petazzoni, 2010/08/04