Skip to content

Commit

Permalink
leverage new config options
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Jun 22, 2023
1 parent 5dd091f commit e2762b2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
8 changes: 8 additions & 0 deletions tests/expected/config0.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -35,6 +39,9 @@
"label_template": "{{name}}"
},
"observation": {
"icon": "list",
"description": "View and submit photos",
"section": "Contributions",
"cache": "first_page",
"background_sync": true,
"map": [
Expand Down Expand Up @@ -109,6 +116,7 @@
}
},
"site_title": "test Project",
"logo": "/icon-192.png",
"router": {
"base_url": ""
},
Expand Down
1 change: 1 addition & 0 deletions tests/expected/config1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
}
},
"site_title": "test Project",
"logo": "/icon-192.png",
"router": {
"base_url": ""
},
Expand Down
1 change: 1 addition & 0 deletions tests/expected/config2.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
}
},
"site_title": "test Project",
"logo": "/icon-192.png",
"router": {
"base_url": ""
},
Expand Down
1 change: 1 addition & 0 deletions tests/expected/config3.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
}
},
"site_title": "test Project",
"logo": "/icon-192.png",
"router": {
"base_url": ""
},
Expand Down
2 changes: 1 addition & 1 deletion wq/create/django_project

0 comments on commit e2762b2

Please sign in to comment.