Hello,

I've never worked with Zope so SompleUserFolder doesn't ring a bell.
I'm assuming it's a database table name.

You can always extend the default user's profile.

This is done by creating a class , most people use UserProfile

class UserProfile(models.Model):
        user = models.ForeignKey(User, unique=True, related_name='profile')
        #your fields that point to your SimpleUserFolder


Then add the following to your settings.py file to let django use your class

AUTH_PROFILE_MODULE = 'accounts.UserProfile' # assuming you have created a 
accounts application


Op 22-mei-2011, om 17:31 heeft Uwe Schuerkamp het volgende geschreven:

> Hi folks,
> 
> I'm in the process of migrating (or re-designing for that matter) a
> Zope-based user database /ranking system over to Django with roughly
> 30,000 accounts in it. The Zope instance uses SimpleUserFolder for
> authentication, so I was wondering if there is a way to authenticate
> django users from within the existing mysql database.
> 
> Would it be possible to extract roles information from the user table
> as well?
> 
> Thanks in advance for any ideas,
> 
> Uwe
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 


Jonas Geiregat
jo...@geiregat.org




-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to