Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Merge 9f39ed5 into a387493
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohanyu committed Nov 25, 2013
2 parents a387493 + 9f39ed5 commit d73042a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions quokka/core/admin/__init__.py
Expand Up @@ -105,7 +105,7 @@ def get_locale():
"/_themes/{0}/".format(theme.identifier),
name="{0}: {1} static files".format(suffix,
theme.identifier),
category="files",
category="Files",
endpoint="{0}_static_files".format(theme.identifier),
roles_accepted=('admin', "editor")
)
Expand All @@ -116,7 +116,7 @@ def get_locale():
"/theme_template_files/{0}/".format(theme.identifier),
name="{0}: {1} template files".format(suffix,
theme.identifier),
category="files",
category="Files",
endpoint="{0}_template_files".format(theme.identifier),
roles_accepted=('admin', "editor")
)
Expand Down
6 changes: 3 additions & 3 deletions quokka/settings.py
Expand Up @@ -87,23 +87,23 @@
FILE_ADMIN = [
{
"name": "Template files",
"category": "files",
"category": "Files",
"path": os.path.join(PROJECT_ROOT, 'templates'),
"url": "/template_files/", # create nginx rule
"endpoint": "template_files",
"roles_accepted": ("admin", "editor")
},
{
"name": "Static files",
"category": "files",
"category": "Files",
"path": STATIC_ROOT,
"url": "/static/", # create nginx rule
"endpoint": "static_files",
"roles_accepted": ("admin", "editor")
},
{
"name": "Media files",
"category": "files",
"category": "Files",
"path": MEDIA_ROOT,
"url": "/mediafiles/", # Create nginx rule
"endpoint": "media_files",
Expand Down

0 comments on commit d73042a

Please sign in to comment.