54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
This file is used as a reminder, can be used as crappy documentation too.
|
|
|
|
# conventions
|
|
## coding style
|
|
* name of classes relative to a class:
|
|
- metaclass: `class_name + 'Meta'`
|
|
- base classes: `class_name + 'Base'`
|
|
|
|
* import and naming:
|
|
- the imported "models" file in the same application is named "models"
|
|
- the imported "models" file from another application is named with the application's name
|
|
- to avoid conflict:
|
|
- django's settings can be named "main_settings"
|
|
|
|
## aircox.cms
|
|
* icons: cropped to 32x32
|
|
* cover in list items: cropped 64x64
|
|
|
|
|
|
|
|
# Long term TODO
|
|
- debug/prod configuration
|
|
|
|
programs:
|
|
- sounds monitor: max_size of path, take in account
|
|
|
|
controllers:
|
|
- archives can be set afterwards for rerun, so check must be done
|
|
at the same time we monitor
|
|
- logs: archive functionnality
|
|
- tools:
|
|
- track stats for diffusions
|
|
|
|
cms:
|
|
- player support diffusions with multiple archive files
|
|
- comments -> remove/edit by the author
|
|
|
|
# Instance's TODO
|
|
- menu_top .sections:
|
|
- display inline block
|
|
- search on the right
|
|
- lists > items style
|
|
- logo: url
|
|
- comments / more info (perhaps using the thing like the player)
|
|
- footer url to aircox's repo + admin
|
|
- styling cal (a.today colored)
|
|
|
|
- init of post related models
|
|
-> date is not formatted
|
|
-> missing image?
|
|
|
|
|
|
|