Giter Club home page Giter Club logo

django-addressbook's Introduction

While learning to use the excellent Django web framework, I decided to port an old Perl CGI script that handled our addressbook. I am sure there must be thousands of these kicking around on the web, but that is no reason not to add another! The code is released under a GPL license.

Installation

The model is a fairly simple normalized database with one entry per person with foreign keys pointing to addresses, email address, phone numbers, etc. To use this Django app, add 'addressbook' to your INSTALLED_APPS and use dbsync to add the tables to the database.

You probably also want to add the URLs to urlpatterns in your base urls.py, maybe something like: (r'^addressbook/', include('addressbook.urls')),

Example templates are included in the "templates" directory. To use them, either copy them to your templates directory, or make sure the app_directories loader is in the TEMPLATE_LOADERS section of your settings.py. For example:

TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', )

The templates use the static files feature of Django, which requires 'django.contrib.staticfiles' is in your INSTALLED_APPS

django-addressbook's People

Contributors

asrashley avatar

Stargazers

Osmel Arias avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

ramanan12345

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.