from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
	# frontend URLs
	url(r'^$', 'website.views.index', name='index'),
	url(r'^chi-siamo/', 'website.views.about_us', name='about_us'),
	url(r'^i-nostri-servizi/', 'website.views.our_services', name='our_services'),
	url(r'^contatti/', 'website.views.contacts', name='contacts'),
	url(r'^le-nostre-offerte/', 'website.views.our_offers', name='our_offers'),
	url(r'^ricevi-offerte/', 'website.views.get_offers', name='get_offers'),
	url(r'^sbiancamento-dentale/', 'website.views.dental_whitening', name='dental_whitening'),
	url(r'^termini-di-utilizzo/', 'website.views.terms_of_use', name='terms_of_use'),
	url(r'^cookie-policy/', 'website.views.cookie_policy', name='cookie_policy'),

	# admin URLs
	url(r'^admin/', include(admin.site.urls)),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
