companies as contacts

5 views
Skip to first unread message

Tomas Neme

unread,
Oct 25, 2011, 3:19:45 PM10/25/11
to satchm...@googlegroups.com
Before I start hacking stuff together the wrong way, I need to create
a type of users for wholesale users which will most probably be
companies, and have to be able to set up a contact
name-phone-email-website for them.. is there a "correct" way to model
this on satchmo?

--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

Ryan Headley

unread,
Oct 25, 2011, 3:38:43 PM10/25/11
to satchm...@googlegroups.com
This really wouldn't be Satchmo specific in my mind, there's a django way to do it.  I'd create a company model and point it to the auth_user model built into django.contrib.auth.

Use that company model to store all the company data...If you look on django's documentation, you'll see how to extend the user model in the "django way"




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




--
http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

Tomas Neme

unread,
Oct 25, 2011, 3:56:00 PM10/25/11
to satchm...@googlegroups.com
> This really wouldn't be Satchmo specific in my mind, there's a django way to
> do it.  I'd create a company model and point it to the auth_user model built
> into django.contrib.auth.
> Use that company model to store all the company data...If you look on
> django's documentation, you'll see how to extend the user model in the
> "django way"

This is what I was doing, but I was wondering about the satchmo
Contact class, and the fact that it seems possible to have more than
one Contact per User, so maybe there's a way of putting these together

Reply all
Reply to author
Forward
0 new messages