| ) | | ) |
| | | |
| | | |
| ## Synchronizing tables | | ## Synchronizing tables |
| | | |
n | After adding the community projects, run syncdb ag | n | After adding the community projects, run syncdb ag |
| ain which will create all necessary tables.
| | ain which will create all necessary tables. (Becau |
| | | se of south you have to use --all for the first ti |
| | | me. When upgrading SCT you have to ./manage.py mig |
| | | rate).
|
| | | |
t | ./manage.py syncb | t | ./manage.py syncb --all |
|
| | |
| If you have also added south to your INSTALLED_APP | | |
| S also use
| | |
|
| | |
| ./manage.py migrate
| | |
| | | |
| ## Create base template | | ## Create base template |
| | | |
| SCT requires a template called base.html which has | | SCT requires a template called base.html which has |
| at least a block called "content" and one called | | at least a block called "content" and one called |
| "head". To make this easier we will create a small | | "head". To make this easier we will create a small |
| community app which hosts only your template. If | | community app which hosts only your template. If |
| you are integrating SCT into your own project, yo | | you are integrating SCT into your own project, yo |
| u probably already have a base template. | | u probably already have a base template. |
| | | |