浏览代码

Turned off date filtering, because it does not work yet.

Marcos Dumay de Medeiros 9 年之前
父节点
当前提交
f992c6072a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/rapid/filters.py

+ 2 - 2
src/rapid/filters.py

@@ -152,8 +152,8 @@ field_type_dispatcher = {
     #models.BooleanField: BooleanFilter,
     models.CharField: TextFilter,
     #models.CommaSeparatedIntegerField:
-    models.DateField: DateTimeFilter,
-    models.DateTimeField: DateTimeFilter,
+    #models.DateField: DateTimeFilter,
+    #models.DateTimeField: DateTimeFilter,
     #models.DecimalField: RealFilter,
     #models.DurationField:TimeFilter,
     models.EmailField: TextFilter,