from django.conf.urls.defaults import *
import tempfile

urlpatterns = patterns('',
    (r'^addressbook/(.*)$', 'django.views.static.serve', {'document_root':'../flex/bin'}),

    (r'^upload/(.*)$', 'django.views.static.serve', {'document_root':tempfile.gettempdir()}),

    (r'^gateway/addressBookService/(.*)', 'amf.django.views', {'views':'addressbook.views'}),

    # Uncomment this for admin:
    # (r'^admin/', include('django.contrib.admin.urls')),
)
