Skip to content

Commit 2a0da62

Browse files
committed
Updated snippets.md
1 parent f16f464 commit 2a0da62

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

snippets.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@
1111
)
1212
```
1313

14+
# 2) Admin
1415

15-
# 2) View
16+
```py
17+
conf.admin.login_logo = "/static/site/images/logo.svg"
18+
conf.admin.login_background = "/static/site/images/stage.jpg"
19+
conf.admin.color_primary = "#970000"
20+
conf.admin.color_secondary = "#ffffff"
21+
```
22+
23+
# 3) View
1624

1725
```py
1826
"views": [
@@ -27,7 +35,7 @@
2735
],
2836
```
2937

30-
# 3) Assign
38+
# 4) Assign
3139

3240
```py
3341
"views": [
@@ -57,6 +65,8 @@
5765
],
5866

5967

68+
# ---
69+
6070
@exposed
6171
@skey(allow_empty=True)
6272
@access("todo-edit")

0 commit comments

Comments
 (0)