Commits

Peter Sanchez  committed 2c0e6f7

Version bump. Small fix to avoid datetime warnings.

  • Participants
  • Parent commits 4fe230b

Comments (0)

Files changed (3)

File callback/__init__.py

 from callback.signals import stored_callback, processed_callback, error_callback
 
 
-__version__ = '0.6'
+__version__ = '0.6.1'
 __all__ = [
     'CallbackException', 'CallbackBase', 'callback_manager',
     'stored_callback', 'processed_callback', 'error_callback',

File callback/managers.py

         return self.get_query_set().filter(query)
 
     def all_expired_callbacks(self, days=7, delete_errors=False):
-        use_date = timezone.now().date() - datetime.timedelta(days=days)
+        use_date = timezone.now() - datetime.timedelta(days=days)
         query = Q(is_active=False) 
         if not delete_errors:
             query &= Q(is_error=False)
 
 setup(
     name='django-callback',
-    version='0.6',
+    version='0.6.1',
     package_dir={project_name: project_name},
     packages=packages,
     package_data={project_name: data_files},