Ok, this is more like it
This just makes the signature unread/writeable by default in the welcome
app. Now - on to more important stuff!

On Tue, Aug 9, 2011 at 10:02 AM, Yair Eshel <guruy...@gmail.com> wrote:

> This is a patch that allows you to adds auth.settings.is_active_writable
> It is set to True by default, for backword compatablity, but I took the
> liberty of turning it off in the welcome app, by defalt.
>
> I Hope it'll bring you joy.
>
>
> --
> Get Freebiz - השיגו פריביז
> http://www.fribiz.com/referrer/guruyaya
>



-- 
Get Freebiz - השיגו פריביז
http://www.fribiz.com/referrer/guruyaya
diff -r c331f941b464 applications/welcome/models/db.py
--- a/applications/welcome/models/db.py	Tue Aug 09 11:21:29 2011 -0500
+++ b/applications/welcome/models/db.py	Wed Aug 10 07:29:23 2011 +0300
@@ -42,6 +42,8 @@
 mail.settings.login = 'username:password'      # your credentials or None
 
 auth.settings.hmac_key = '<your secret key>'   # before define_tables()
+auth.signature.is_active.writable = auth.signature.is_active.readable = False      # Change to true to make all is_active fields changeable in SQLFORM and crud
+
 auth.define_tables()                           # creates all needed tables
 auth.settings.mailer = mail                    # for user email verification
 auth.settings.registration_requires_verification = False

Reply via email to