Skip to content

Commit

Permalink
Added 'Link' content to be added in 'historias'
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 13, 2011
1 parent 9f7527a commit a1557e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sg/socialsite/setuphandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def setupDemoContent(self, portal):
description=u"Sección de historias de los usuarios")
historias = portal['historias']
historias.setConstrainTypesMode(constraintypes.ENABLED)
historias.setLocallyAllowedTypes(['News Item'])
historias.setImmediatelyAddableTypes(['News Item'])
historias.setLocallyAllowedTypes(['News Item', 'Link'])
historias.setImmediatelyAddableTypes(['News Item', 'Link'])
historias.reindexObject()
if 'preguntas' not in existing:
_createObjectByType('Folder', portal, id='preguntas', title=u"Preguntas",
Expand Down

0 comments on commit a1557e9

Please sign in to comment.