Example DBBasic apps (an API, a blog and a microblog) and a template for new DBBasic modules.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-examples.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-examples.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-examples.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Add official module template for creating DBBasic packages 17cf88a 1 year, 1 month ago History
admin.py · 596 bytes · 17 lines
1"""
2Admin interface configuration for dbbasic-module
3
4This module is auto-discovered by dbbasic-admin.
5Customize the icon, label, href, and order to control menu appearance.
6"""
7
8# Navigation configuration
9# This is automatically discovered and added to the admin menu
10ADMIN_CONFIG = [
11 {
12 'icon': '📦', # Change to any emoji that represents your module
13 'label': 'Things', # Change to plural noun (e.g., "Contacts", "Tasks", "Products")
14 'href': '/admin/module', # Change "module" to your module name
15 'order': 50 # Menu position: 10=top, 100=bottom
16 }
17]