1
#----------------------------------------------------------------------
2
# Copyright (c) 2009-2011 Benito Jorge Bastida
4
# Redistribution and use in source and binary forms, with or without
5
# modification, are permitted provided that the following conditions are
8
# o Redistributions of source code must retain the above copyright
9
# notice, this list of conditions, and the disclaimer that follows.
11
# o Redistributions in binary form must reproduce the above copyright
12
# notice, this list of conditions, and the following disclaimer in
13
# the documentation and/or other materials provided with the
16
# o Neither the name of Digital Creations nor the names of its
17
# contributors may be used to endorse or promote products derived
18
# from this software without specific prior written permission.
20
# THIS SOFTWARE IS PROVIDED BY DIGITAL CREATIONS AND CONTRIBUTORS *AS
21
# IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
23
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DIGITAL
24
# CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
29
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
30
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
32
#----------------------------------------------------------------------
34
from django.conf.urls.defaults import *
35
from django.conf import settings
36
from dajaxice.core import dajaxice_autodiscover
39
dajaxice_autodiscover()
41
urlpatterns = patterns('',
43
(r'^%s/' % settings.DAJAXICE_MEDIA_PREFIX, include('dajaxice.urls')),