-
Notifications
You must be signed in to change notification settings - Fork 12
config.py format
allan-simon edited this page Nov 19, 2012
·
8 revisions
This file is used to generate the first code of your website, and will also format the templates for the code you'll add after using the others tools
The file is organized as 2 python dict:
- ARCHITECTURE
- REPLACEMENTS
The architecture dict will precise which controllers/models, and the associated views/contents to generate, and also which models use each controllers
the 3 main sections of the dict are the following (each sections will be detailled one by one after)
ARCHITECTURE = { 'controllers' : { }, 'models' : { } . 'models_controllers' : [ ] }
###controllers
###models
###models_controllers