Thirdparties¶
Here belongs some notes on thirdparty Django applications support in SiteTree.
django-smuggler¶
https://pypi.python.org/pypi/django-smuggler/
Smuggler dump and load buttons will be available on trees listing page if this app is installed
allowing to dump and load site trees and items right from your browser.
django-modeltranslation¶
https://pypi.python.org/pypi/django-modeltranslation/
If you do not want to use the built-in sitetree Internationalization machinery, with modeltranslation you can
localize your tree items into different languages. This requires some work though.
-
Create a custom sitetree item model:
-
Instruct Django to use your custom model:
settings.py -
Tune up Admin contrib to handle translatable tree items:
admin.py -
Instruct
modeltranslationhow to handle your tree item model:
That's how you made sitetree work with modeltranslation.
Read django-modeltranslation documentation for more information on tuning.
django-tenants¶
https://pypi.python.org/pypi/django-tenants/
You should use a custom cache config to make it work, configure something like this on the django cache.