From ca3061551b494c15f77d05f92f8f42d27ea7a1e5 Mon Sep 17 00:00:00 2001 From: "S. Andrew Sheppard" Date: Wed, 21 Jun 2023 23:06:01 -0400 Subject: [PATCH] leverage new config options --- README.md | 2 +- tests/expected/config0.json | 8 ++++++++ tests/expected/config1.json | 1 + tests/expected/config2.json | 1 + tests/expected/config3.json | 1 + wq/create/django_project | 2 +- 6 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d0aa2e..d98d135 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![wq.create][logo]][docs] -[**wq.create**][docs] (formerly wq.start) provides a simple command-line interface (`wq create`) for starting a new project with the [wq framework], with [wq.app] for the front end and [wq.db] as the backend. wq.create also provides a `wq addform` command that can generate and configure new Django apps from an [XLSForm] definition. +[**wq.create**][docs] provides a simple command-line interface (`wq create`) for starting a new project with the [wq framework], with [wq.app] for the front end and [wq.db] as the backend. wq.create also provides a `wq addform` command that can generate and configure new Django apps from an [XLSForm] definition. [![Latest PyPI Release](https://img.shields.io/pypi/v/wq.create.svg)](https://pypi.org/project/wq.create) [![Release Notes](https://img.shields.io/github/release/wq/wq.create.svg)](https://github.com/wq/wq.create/releases) diff --git a/tests/expected/config0.json b/tests/expected/config0.json index f3509fe..9e93762 100644 --- a/tests/expected/config0.json +++ b/tests/expected/config0.json @@ -9,6 +9,10 @@ "name": "logout" }, "category": { + "icon": "config", + "description": "Manage available categories", + "section": "Admin", + "show_in_index": "can_change", "cache": "all", "background_sync": false, "name": "category", @@ -35,6 +39,9 @@ "label_template": "{{name}}" }, "observation": { + "icon": "list", + "description": "View and submit photos on map", + "section": "Contributions", "cache": "first_page", "background_sync": true, "map": [ @@ -109,6 +116,7 @@ } }, "site_title": "test Project", + "logo": "/icon-192.png", "router": { "base_url": "" }, diff --git a/tests/expected/config1.json b/tests/expected/config1.json index 4ae585d..ea2227a 100644 --- a/tests/expected/config1.json +++ b/tests/expected/config1.json @@ -16,6 +16,7 @@ } }, "site_title": "test Project", + "logo": "/icon-192.png", "router": { "base_url": "" }, diff --git a/tests/expected/config2.json b/tests/expected/config2.json index aa581be..771d22a 100644 --- a/tests/expected/config2.json +++ b/tests/expected/config2.json @@ -85,6 +85,7 @@ } }, "site_title": "test Project", + "logo": "/icon-192.png", "router": { "base_url": "" }, diff --git a/tests/expected/config3.json b/tests/expected/config3.json index f0182e6..ec39432 100644 --- a/tests/expected/config3.json +++ b/tests/expected/config3.json @@ -122,6 +122,7 @@ } }, "site_title": "test Project", + "logo": "/icon-192.png", "router": { "base_url": "" }, diff --git a/wq/create/django_project b/wq/create/django_project index c498a5a..a1b0388 160000 --- a/wq/create/django_project +++ b/wq/create/django_project @@ -1 +1 @@ -Subproject commit c498a5a2765e50b407ba3ef5e2d15f1e92a0a89d +Subproject commit a1b0388ba5710b6587db5d09c25aef17c4b09e4d