from django.conf.urls import include, url
from django.contrib import admin
from django.views.generic import RedirectView
from django.contrib import admin
admin.autodiscover()
 
urlpatterns = [
    # Examples:
    # url(r'^$', 'django_chat.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^(/)?$', RedirectView.as_view(url='/chats/')),
	url(r'^chats/', include('chat.urls')),	
]
