This
db.auth_user.first_name.readable = db.auth_user.first_name.writable = False
should prevent them from showing up. Does it not?
massimo
On Saturday, 30 June 2012 00:00:16 UTC-5, Scott wrote:
>
> I'm trying to remove the fields 'first_name' and 'last_name' from the
> auth_user database, or at least stop them from showing up on the
> registration forms and such.
>
> I've tried the following in db.py:
>
> db.auth_user.first_name.readable = db.auth_user.first_name.writable =
> False
>
> I also placing the below code above the auth.define_tables() code.
>
> auth.settings.extra_fields['auth_user'] =
> Field('first_name', readable=False,writable=False
>
> Some help would be appreciated.
>