Commits

Anonymous committed a3e4c02

[project @ 364]
Added setting to allow member icons to be served from different URL,
so we can use a different apache instance with content negotiation
turned on.

  • Participants
  • Parent commits d7f7a1b

Comments (0)

Files changed (2)

 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE Tasks SYSTEM "Tasks-3.8.dtd">
 <!-- Tasks file for project cciw -->
-<!-- Saved: 2006-07-13, 22:28:42 -->
+<!-- Saved: 2006-08-08, 00:39:58 -->
 <Tasks version="3.8">
   <Task priority="1" completed="0" bugfix="0">
     <Description>TODO: do this in flatten_data...</Description>
-    <Created>2006-06-16, 18:53:24</Created>
+    <Created>2006-07-19, 22:33:17</Created>
     <Resource>
       <Filename>
         <Dir>cciw</Dir>

File cciw/cciwmain/utils.py

         # We use content negotiation to get the right file i.e.
         # apache will add the right extension on for us.
         return '<img src="%s" class="userIcon" alt="icon" />' % \
-            (settings.MEDIA_URL + settings.MEMBER_ICON_PATH + user_name)
+            (settings.SPECIAL_MEDIA_URL + settings.MEMBER_ICON_PATH + user_name)
 
 
 def modified_query_string(request, dict, fragment=''):