Skip to main content

A django app that allows users to create contact groups and contacts, as well as views for displaying a contact in hcard format, downloading a vcard for the contact, a gravatar, and a QR code.

Project description

Features:
* Allow users to register themselves via their Facebook, Twitter,
Google, or OpenID credentials
* Users can create contact records organized into user-defined contact groups
* The app supports storing for each contact:
** Multiple physical addresses
** Multiple phone numbers
** Multiple emails
* Each contact record supports exporting that record in vCard
format (http://en.wikipedia.org/wiki/VCard)
* Each contact record presents a QR code to allow a barcode
scanner to import it
* Each contact record accesses any Gravatar for the contact
(http://en.gravatar.com/)
* Each contact uses the hCard microformat in its markup
http://microformats.org/wiki/hcard
* A full unit test suite
* The app is installable using standard Python distutils

Installing the app:
1) clone via git and python setup.py install
or
2) easy_install django-addressbook

Setting up the app:
Assuming you have Django installed and this app installed (easy_install django-addressbook),
1) python manage.py syncdb
2) add addressbook.urls to your urls: url(r'^addressbook/', include('addressbook.urls')),
3) add your site domain in settings.py: DOMAIN = 'example.com'
4) sym-link uni_form media: ln -s /path/to/uni_form/static/uni_form /path/to/project/media/uni_form
(setup may differ depending on your MEDIA_URL)
5) (optional) sym-link the sample css file for nicer looking forms (this may override your css):
:~$ ln -s /path/to/addressbook/static/addressbook.css /path/to/proj/media/css/addressbook.css
6) (optional) override templates as necessary by creating an 'addressbook' directory

NOTES:
vCard Format: http://www.ietf.org/rfc/rfc2426.txt
Vobject Django snippet: http://djangosnippets.org/snippets/58/
Vobject usage: http://vobject.skyhouseconsulting.com/usage.html, http://lists.brotherharris.com/pipermail/vobject/2009-January/000165.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-addressbook-0.1.1.tar.gz (13.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page