Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pyfs
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
OpenEdx
django-pyfs
Commits
c94e3f4e
Commit
c94e3f4e
authored
Nov 04, 2015
by
Muhammad Ammar
Committed by
muhammad-ammar
Nov 06, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2 from edx/ammar/fix-deprecation-warnings
fix RemovedInDjango19Warning warning
parents
aefed1e2
3465ddba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
djpyfs/models.py
+1
-0
setup.py
+1
-1
No files found.
djpyfs/models.py
View file @
c94e3f4e
...
...
@@ -55,6 +55,7 @@ class FSExpirations(models.Model):
return
cls
.
objects
.
filter
(
expires
=
True
,
expiration__lte
=
expiration_lte
)
class
Meta
:
app_label
=
'djpyfs'
unique_together
=
((
"module"
,
"filename"
))
# We'd like to create an index first on expiration than on expires (so we can
# search for objects where expires=True and expiration is before now).
...
...
setup.py
View file @
c94e3f4e
...
...
@@ -3,7 +3,7 @@
from
distutils.core
import
setup
setup
(
name
=
'django-pyfs'
,
version
=
'1.0.
1
'
,
version
=
'1.0.
3
'
,
description
=
'Django pyfilesystem integration'
,
author
=
'Piotr Mitros'
,
author_email
=
'pmitros@edx.org'
,
...
...
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