The amazing thing about Django contrib is that, in general, it uses
the same features as are available to you in your models. So there is
no reason that you need to even install the auth system. You could
copy the code out of django.contrib.auth and customize it as you see
fit. The only thing is that code is tested and really complex and
might be doing things that you haven't even thought about, so you
might be looking at a project that is more complicated than you really
want it to be. The nice thing about auth is that it gives you a built
in function to add a profile to a user. This might be the best
solution for you. Check out the django book here:
http://www.djangobook.com/en/1.0/chapter12/#cn222

On Tue, Mar 4, 2008 at 4:06 PM, Michael Irani <[EMAIL PROTECTED]> wrote:
>
>  I was wondering if it's possible to add a ManyToManyField onto a
>  prebuilt Django model such as User... I know that it would look like
>  this if I were to have created the model myself:
>  class User(models.Model):
>       watch = models.ManyToManyField('self', null=True, blank=True)
>
>  I'm unsure how to add features to prebuilt models and wasn't even sure
>  if that was possible.
>
>  Thanks,
>  Mike.
>  >
>

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

Reply via email to