Monday, April 25, 2016

Re: How do I design a user model for a Dating site

I personally would make a separate profile model
either create a profile using signals or use something like get or create profile each time you want to get a profile for a user


On Mon, Apr 25, 2016 at 2:11 PM, njan <abduraooft@gmail.com> wrote:
Hello all,

My first post here.

I'm trying to make a Dating site where the Admin or Staff may not have a full fledged profile as that of a normal user of the site. I'd prefer to have email-id as the username for all users including admin

I'm a bit confused about how to proceed here.

Should I customise the default User model or make UserProfile model having a ForeignKey relation with default User model.

Kindly give some guidelines to start.

(I'm sorry, I feel dumb. I'm a quite beginner in django) 

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/443a39cb-3d61-47ce-8357-2dd0e25553ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tJWaBB0%2BSfMkz2wGZ1Zu-OQ%2Bdcv5wi8E8A9AKT-VaLmXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment