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

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


urlpatterns = patterns('',
    # Routes
    # http://localhost:8000
    url(r'^$', 'djangofw.views.home', name='index'),

    # http://localhost:8000/polls/
    url(r'^polls/', include('polls.urls')),
    url(r'^blog/', include('blog.urls')),

    # Route to change language
    # http://localhost:8000/i18n
    (r'^i18n/', include('django.conf.urls.i18n')),

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

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