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
291 B
13 lines
291 B
9 years ago
|
from crud import build_crud
|
||
|
|
||
|
from .models import Country
|
||
|
|
||
|
country_crud = build_crud(
|
||
|
Country, 'help_path', [
|
||
|
['Basic Data',
|
||
|
[('name', 9), ('continent', 3)],
|
||
|
[('population', 6), ('is_cold', 6)]
|
||
|
],
|
||
|
['More Details', [('description', 12)]],
|
||
|
])
|