mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
227 B
14 lines
227 B
9 years ago
|
from crud.base import Crud, CrudListMixin
|
||
9 years ago
|
|
||
|
from .models import Country
|
||
|
|
||
9 years ago
|
|
||
|
class CountryCrudListMixin(CrudListMixin):
|
||
|
paginate_by = 10
|
||
|
|
||
|
|
||
|
country_crud = Crud(
|
||
9 years ago
|
Country,
|
||
|
'help_path',
|
||
9 years ago
|
list_mixin=CountryCrudListMixin)
|