增加通用分页函数和对应的测试

This commit is contained in:
virusdefender
2015-08-05 08:44:28 +08:00
parent 44be61dab6
commit 8a6093d645
4 changed files with 122 additions and 1 deletions

9
utils/test_urls.py Normal file
View File

@@ -0,0 +1,9 @@
# coding=utf-8
from django.conf.urls import include, url
urlpatterns = [
url(r'^paginate_test/$', "utils.tests.pagination_test_func"),
]