From 4cff2116b2abe1b9ad1ca6cc12cd1c4be97d7119 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 23 Jul 2010 09:34:01 +0200 Subject: [PATCH] add forms documentation, EXT_validate and (untested) files support --- pyweb/extdirect.py | 64 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 54 insertions(+), 10 deletions(-) diff --git a/pyweb/extdirect.py b/pyweb/extdirect.py index 0a8bcd0..4baaf26 100644 --- a/pyweb/extdirect.py +++ b/pyweb/extdirect.py @@ -2,7 +2,7 @@ # kate: space-indent on; indent-width 4; replace-tabs on; """ - * Copyright (C) 200, Michael "Svedrin" Ziegler + * Copyright (C) 2010, Michael "Svedrin" Ziegler * * Mumble-Django is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -137,11 +137,35 @@ class Provider( object ): return method def register_form( self, formclass ): - """ Register a Django Form class for handling teh stuffz, yoo know. """ + """ Register a Django Form class. + + After registration, you will be able to retrieve an ExtJS form class + definition for this form under the URL ".js". Include this + script via a