from django.conf.urls.defaults import *
from settings import MEDIA_ROOT

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

urlpatterns = patterns('',
    # Example:
    # (r'^designclaws/', include('designclaws.foo.urls')),

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

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

	# frontpage urls
	(r'^$', 'frontpage.views.index'),
        (r'^family$', 'familytree.views.index'),

    	(r'^projects/?$', 'projects.views.index'),
    	(r'^projects/page/(?P<num>\d+)/?$', 'projects.views.page'),
	
	# Everything else gets passed through static page handler
	(r'^.*', 'static.views.index'),
)

