Revision: 629
Author: batiste.bieler
Date: Mon Aug 3 07:31:52 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/django-page-cms/source/detail?r=629
Modified:
/wiki/3thPartyApps.wiki
=======================================
--- /wiki/3thPartyApps.wiki Mon Aug 3 07:30:54 2009
+++ /wiki/3thPartyApps.wiki Mon Aug 3 07:31:52 2009
@@ -20,9 +20,14 @@
After that you need to set the PAGE_CONNECTED_MODELS into your settings:
{{{
-PAGE_CONNECTED_MODELS = [
-
{'model':'documents.models.Document','form':'documents.models.DocumentForm'},
-]
+PAGE_CONNECTED_MODELS = [{
+ 'model':'documents.models.Document',
+ 'form':'documents.models.DocumentForm',
+ 'options':{
+ 'extra': 3,
+ 'max_num': 10,
+ },
+},]
}}}
When you edit a page, you should see a form to create a Document object
linked to this page.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---