from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views

urlpatterns = [
    # Examples:
    # url(r'^$', 'mysite.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
    url(r'^admin/', admin.site.urls),
    url(r'',include('blog.urls')),
    url(r'accounts/login/$',views.login,name='login'),
    url(r'accounts/logout/$',views.logout,name='logout',kwargs={'next_page':'/'}),
]
