Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
insights
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
insights
Commits
fafa093d
Commit
fafa093d
authored
Mar 30, 2013
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix to docstring
parent
304c34ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/djanalytics/modulefs/modulefs.py
+3
-3
No files found.
src/djanalytics/modulefs/modulefs.py
View file @
fafa093d
...
@@ -20,9 +20,9 @@ else:
...
@@ -20,9 +20,9 @@ else:
def
get_filesystem
(
namespace
):
def
get_filesystem
(
namespace
):
''' Returns a pyfilesystem for static module storage.
''' Returns a pyfilesystem for static module storage.
Unimplemented:
The file system will have two additional properties:
The file system will have two additional properties:
1) A way to get a URL for a static file download
1)
get_url:
A way to get a URL for a static file download
2) A way to expire files (so they are automatically destroyed)
2)
expire:
A way to expire files (so they are automatically destroyed)
'''
'''
if
settings
.
DJFS
[
'type'
]
==
'osfs'
:
if
settings
.
DJFS
[
'type'
]
==
'osfs'
:
return
get_osfs
(
namespace
)
return
get_osfs
(
namespace
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment