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
3465ddba
Commit
3465ddba
authored
Oct 22, 2015
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix RemovedInDjango19Warning warning
parent
aefed1e2
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 @
3465ddba
...
...
@@ -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 @
3465ddba
...
...
@@ -3,7 +3,7 @@
from
distutils.core
import
setup
setup
(
name
=
'django-pyfs'
,
version
=
'1.0.
1
'
,
version
=
'1.0.
2
'
,
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