Hello!

I have forum on phpbb (about 20000 users), and now want to integrate
auth with django. Went throgh legasy database doc and have this table:

class User(users.User):
    user_id = meta.IntegerField()
    user_active = meta.CharField(maxlength=1)
    username = meta.CharField(maxlength=25)
    user_password = meta.CharField(maxlength=32)
    user_session_time = meta.IntegerField()
    user_session_page = meta.IntegerField()
    user_lastvisit = meta.IntegerField()
    user_regdate = meta.IntegerField()
    user_level = meta.CharField(maxlength=4)
    user_posts = meta.IntegerField()
    [...]
    class META:
        db_table = 'anastas_users'
        replaces_module = 'auth.users'
        admin = meta.Admin()

as you see, lots of fields have the same fields from auth.users table.
How to escape double of fields, and auth can work like in forum and in
django?

Thanks a lot!
-- 
Всего наилучшего!
greg [at] anastasia [dot] ru Григорий.

Reply via email to