registring region,district and village models
This commit is contained in:
@@ -165,5 +165,26 @@ PAGES = [
|
||||
"link": reverse_lazy("admin:evaluation_documentcategorymodel_changelist"),
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": _("Joylashuvlar"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Shaharlar"),
|
||||
"icon": "attach_file",
|
||||
"link": reverse_lazy("admin:shared_regionmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Tumanlar"),
|
||||
"icon": "attach_file",
|
||||
"link": reverse_lazy("admin:shared_districtmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Mahallalar"),
|
||||
"icon": "attach_file",
|
||||
"link": reverse_lazy("admin:shared_villagemodel_changelist"),
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user