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
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
Jonas Geiregat
jo...@geiregat.org
If possible I think migrating the database table (the login , name and password fields only) you presented to the database your django project database is using, seems more elegant.
There would be no need for writing extra code to get this working.
The only code extra would be , again, a user profile. For storing the role column.
For more information about user profiling and django , take a look at:
open http://docs.djangoproject.com/en/dev/topics/auth/#auth-profiles
That might be one of the bigger things to overcome.
In order to succeed you must find out how django stores passwords and how your current passwords are stored.
That way you can start converting , probably by writing some python conversion script.
You can find out more on how django stores it's passwords here http://docs.djangoproject.com/en/dev/topics/auth/#passwords
For the Zope part you're on you're own, I've never looked at it in my life.
>
> All the best, 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...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.