Skip to content

Commit 1773db9

Browse files
chore: add fixtures for blacklisted slugs
1 parent d6adf14 commit 1773db9

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"docstatus": 0,
4+
"doctype": "Blacklisted Slug",
5+
"modified": "2025-03-30 12:00:04.145739",
6+
"name": "apps",
7+
"slug": "apps"
8+
},
9+
{
10+
"docstatus": 0,
11+
"doctype": "Blacklisted Slug",
12+
"modified": "2025-03-30 12:03:13.859458",
13+
"name": "app",
14+
"slug": "app"
15+
}
16+
]

linklite/hooks.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@
1111

1212
website_route_rules = [{'from_route': '/frontend/<path:app_path>', 'to_route': 'frontend'},]
1313

14+
export_python_type_annotations = True
15+
16+
fixtures = [
17+
{
18+
"dt": "Blacklisted Slug",
19+
"filters": {
20+
"name": ("in", ("apps", "app"))
21+
}
22+
}
23+
]
24+
1425
# Apps
1526
# ------------------
1627

@@ -245,7 +256,7 @@
245256
# ]
246257

247258
# Automatically update python controller files with type annotations for this app.
248-
export_python_type_annotations = True
259+
249260

250261
# default_log_clearing_doctypes = {
251262
# "Logging DocType Name": 30 # days to retain logs

0 commit comments

Comments
 (0)