Commit 3465ddba by muhammad-ammar

fix RemovedInDjango19Warning warning

parent aefed1e2
...@@ -55,6 +55,7 @@ class FSExpirations(models.Model): ...@@ -55,6 +55,7 @@ class FSExpirations(models.Model):
return cls.objects.filter(expires=True, expiration__lte = expiration_lte) return cls.objects.filter(expires=True, expiration__lte = expiration_lte)
class Meta: class Meta:
app_label = 'djpyfs'
unique_together = (("module","filename")) unique_together = (("module","filename"))
# We'd like to create an index first on expiration than on expires (so we can # 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). # search for objects where expires=True and expiration is before now).
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
from distutils.core import setup from distutils.core import setup
setup(name='django-pyfs', setup(name='django-pyfs',
version='1.0.1', version='1.0.2',
description='Django pyfilesystem integration', description='Django pyfilesystem integration',
author='Piotr Mitros', author='Piotr Mitros',
author_email='pmitros@edx.org', author_email='pmitros@edx.org',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment