Skip to content
allan-simon edited this page Nov 19, 2012 · 8 revisions

Format use by config.py

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

Architecture

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

Clone this wiki locally