Contacts

28 views
Skip to first unread message

Lachlan Musicman

unread,
Jul 10, 2014, 5:44:39 AM7/10/14
to django...@googlegroups.com
Hola,

So I need a contact app. I could write one myself, but there are a
gazillion forks of something that seems quite comprehensive,
django-contacts.

This is the first time I've used a third party app that adds models to
my project.

I did (in a dev virtualenv) pip install django-contacts, added to the
settings and have sync'd against the db.

But there is no directory in my project folder - I can only presume
that's because it's in /virtualenv/path/lib/python/somewhere

How do I add contacts, without using the Admin interface?

Should I instead just git clone from the django-contacts src/contacts
folder into my project instead?

cheers
L.



--
The idea is that a beautiful image is frameable. Everything you need
to see is there: It’s everything you want, and it’s very pleasing
because there’s no extra information that you don’t get to see.
Everything’s in a nice package for you. But sublime art is
unframeable: It’s an image or idea that implies that there’s a bigger
image or idea that you can’t see: You’re only getting to look at a
fraction of it, and in that way it’s both beautiful and scary, because
it’s reminding you that there’s more that you don’t have access to.
It’s now sort of left the piece itself and it’s become your own
invention, so it’s personal as well as being scary as well as being
beautiful, which is what I really like about art like that.
-----------------------------------------------------------------------------------------------------------
Adventure Time http://theholenearthecenteroftheworld.com/

Esau Rodriguez

unread,
Jul 10, 2014, 6:07:37 AM7/10/14
to django-users@googlegroups com

You need to import classes from models. Try from contacts.models import Person (or any other class).

Regards,
Esau Rodriguez.

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGBeqiPV6THzJasTdpdz4NkLsaVS5tvOEydSHh35TuPW_aUHxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Lachlan Musicman

unread,
Jul 10, 2014, 10:43:02 PM7/10/14
to django...@googlegroups.com
Oh I see what I've done wrong - I presumed it would come with templates and etc.

Ok, thanks

L.
> https://groups.google.com/d/msgid/django-users/CAB4Jw75apWqkzcns4SP8NVM2tij4-htLw7-EhbgJh9daw_Xsqw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages