Revision 60441a7f cloudcms/cms.py
b/cloudcms/cms.py | ||
---|---|---|
158 | 158 |
Page.create_content_type(LoginForm) |
159 | 159 |
Page.create_content_type(AboutBlock) |
160 | 160 |
Page.create_content_type(ResourcesList) |
161 |
Page.create_content_type(BlockColor)
|
|
161 |
Page.create_content_type(BlockColor) |
|
162 | 162 |
|
163 | 163 |
|
164 | 164 |
|
... | ... | |
174 | 174 |
from cloudcmsfaq.models import Question |
175 | 175 |
EXTRA_CONTENT_MODELS.append(Question) |
176 | 176 |
|
177 |
if 'cloudcmsguide' in settings.INSTALLED_APPS: |
|
178 |
from cloudcmsguide.models import Section |
|
179 |
EXTRA_CONTENT_MODELS.append(Section) |
|
180 |
|
|
177 | 181 |
for model in EXTRA_CONTENT_MODELS: |
178 | 182 |
# Feincms specific registrations for our blog entry model |
179 | 183 |
model.register_regions( |
Also available in: Unified diff