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.
13 lines
222 B
13 lines
222 B
from crud import Crud, CrudListMixin
|
|
|
|
from .models import Country
|
|
|
|
|
|
class CountryCrudListMixin(CrudListMixin):
|
|
paginate_by = 10
|
|
|
|
|
|
country_crud = Crud(
|
|
Country,
|
|
'help_path',
|
|
list_mixin=CountryCrudListMixin)
|
|
|