changeset 48:985339334890

Changed the dir into which uploaded headers/footers are placed and added them to .hgignore.
author Atul Varma <varmaa@toolness.com>
date Tue, 04 Mar 2008 18:13:17 -0600
parents 1d1f396c3264
children dc7e8dd15b3f
files .hgignore PersonasBackend/personas/models.py
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Tue Mar 04 17:43:40 2008 -0600
+++ b/.hgignore	Tue Mar 04 18:13:17 2008 -0600
@@ -3,3 +3,5 @@
 *.pyc
 temp_db
 *~
+media/hosted-content/footers/*
+media/hosted-content/headers/*
--- a/PersonasBackend/personas/models.py	Tue Mar 04 17:43:40 2008 -0600
+++ b/PersonasBackend/personas/models.py	Tue Mar 04 18:13:17 2008 -0600
@@ -156,7 +156,7 @@
         help_text=("File for the image that will be placed behind "
                    "the browser's top chrome.  Only needed if "
                    "a header image URL is not specified."),
-        upload_to="headers",
+        upload_to="hosted-content/headers",
         blank=True,
         max_length=MAX_FILE_NAME_LENGTH,
         )
@@ -176,7 +176,7 @@
         help_text=("File for the image that will be placed behind "
                    "the browser's bottom chrome.  Only needed if "
                    "a footer image URL is not specified."),
-        upload_to="footers",
+        upload_to="hosted-content/footers",
         blank=True,
         )