| View previous topic :: View next topic |
| Author |
Message |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
Posted: Wed 30 Apr, 2008 14:41 Post subject: |
|
|
Hups!
I refactory the Preferences contept completly with: http://trac.pylucid.net/changeset/1544
Now a plugin can create own preferences with a newforms class.
The data would not saved as a pickle string -> It saved as a pprint.pformat string. So the admin can edit the data with the django admin panel.
The preferences editor used the newforms klass to build a normal html form for the user...
The plugin hase access to the preferences via the dict: self.preferences
Nice? Yes! _________________
http://www.jensdiemer.de | http://www.htfx.de | http://www.python-forum.de
|
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
jens Administrator
Joined: 12 Oct 2005 Posts: 972 Location: duisburg, germany
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|