Skip to content

Commit

Permalink
Updated snippets.md
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Sep 25, 2024
1 parent f16f464 commit 2a0da62
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@
)
```

# 2) Admin

# 2) View
```py
conf.admin.login_logo = "/static/site/images/logo.svg"
conf.admin.login_background = "/static/site/images/stage.jpg"
conf.admin.color_primary = "#970000"
conf.admin.color_secondary = "#ffffff"
```

# 3) View

```py
"views": [
Expand All @@ -27,7 +35,7 @@
],
```

# 3) Assign
# 4) Assign

```py
"views": [
Expand Down Expand Up @@ -57,6 +65,8 @@
],


# ---

@exposed
@skey(allow_empty=True)
@access("todo-edit")
Expand Down

0 comments on commit 2a0da62

Please sign in to comment.