Permalink
Browse files

Use RequestLocalTableFiller if available to enable real pagination

  • Loading branch information...
1 parent d3e5a2e commit 56069661fb91306664fae01b9db725c54c98676b @amol- amol- committed Sep 8, 2012
Showing with 10 additions and 2 deletions.
  1. +5 −1 tgext/admin/config.py
  2. +5 −1 tgext/admin/tgadminconfig.py
View
@@ -13,7 +13,11 @@
except:
from sprox.tablebase import TableBase
-from sprox.fillerbase import TableFiller
+try:
+ from tgext.crud.utils import RequestLocalTableFiller as TableFiller
+except:
+ from sprox.fillerbase import TableFiller
+
from sprox.formbase import AddRecordForm, EditableForm
from sprox.fillerbase import RecordFiller, AddFormFiller
@@ -17,7 +17,11 @@
except:
from sprox.tablebase import TableBase
-from sprox.fillerbase import TableFiller
+try:
+ from tgext.crud.utils import RequestLocalTableFiller as TableFiller
+except:
+ from sprox.fillerbase import TableFiller
+
from sprox.formbase import AddRecordForm, EditableForm
from sprox.fillerbase import RecordFiller, AddFormFiller

0 comments on commit 5606966

Please sign in to comment.