Skip to content

Commit

Permalink
Merge branch 'hotfix/nl-images'
Browse files Browse the repository at this point in the history
  • Loading branch information
glibersat committed Oct 10, 2011
2 parents d40deec + 1ab7d63 commit ccc6f94
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
21 changes: 8 additions & 13 deletions settings.py
Expand Up @@ -66,17 +66,6 @@
MEDIA_ROOT = os.path.join(PROJECT_PATH, 'media/')


# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = '/site_media/'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
#ADMIN_MEDIA_PREFIX = STATIC_URL + '/admin/'


# Make this unique, and don't share it with anybody.
SECRET_KEY = '-m2v@6wb7+$!*nsed$1m5_f=1p5pf-lg^_m3+@x*%fl5a$qpqd'

Expand Down Expand Up @@ -134,7 +123,6 @@
'django.core.context_processors.static',
'apps.project_sheet.context_processors.project_search_forms',
'apps.member.context_processors.member_forms',
# "mothertongue.context_processors.router",
)


Expand Down Expand Up @@ -340,8 +328,11 @@
)

## Grappelli
#ADMIN_MEDIA_PREFIX = STATIC_URL + "grappelli/"
GRAPPELLI_ADMIN_TITLE = "Imagination For People"

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'

### COMPRESOR
Expand Down Expand Up @@ -403,3 +394,7 @@
# },
# },
# }


## Newsletter
DEFAULT_HEADER_SENDER = "Imagination For People Newsletter <contact@imaginationforpeople.org>"
6 changes: 4 additions & 2 deletions site_settings.py.sample
Expand Up @@ -15,8 +15,10 @@ DATABASES = {
}
}



# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = 'http://imaginationforpeople.org/site_media/'



0 comments on commit ccc6f94

Please sign in to comment.