from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

from dynamicLink import presettings

urlpatterns = patterns('',
    # Example:
    (r'^$', direct_to_template, {'template': 'home.html'}),

    # for django-dynamic-link. By default it catch url/serve/some-dynamic-link/
    (r'^\w+/%s/' % presettings.DYNAMIC_LINK_URL_BASE_COMPONENT,
                                    include('dynamicLink.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)

from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

from dynamicLink import presettings

urlpatterns = patterns('',
    # Example:
    (r'^$', direct_to_template, {'template': 'home.html'}),

    # for django-dynamic-link. By default it catch url/serve/some-dynamic-link/
    (r'^\w+/%s/' % presettings.DYNAMIC_LINK_URL_BASE_COMPONENT,
                                    include('dynamicLink.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)

# Uncomment the next two lines to enable the admin: # Example: # for django-dynamic-link. By default it catch url/serve/some-dynamic-link/ # Uncomment the admin/doc line below to enable admin documentation: # Uncomment the next line to enable the admin: