text: from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.contrib.auth import views as auth_views
  from stream import views
  from django.conf import settings
  from django.conf.urls.static import static
  from management import views as management_views
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'InstagramClone.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
      url(r'^$', views.home, name='home'),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^api/', include('api.urls')),
      url(r'^accounts/login/$', auth_views.login, {'template_name': 'registration/login.html'}, name='login'),
      url(r'^accounts/logout/$', auth_views.logout, {'template_name': 'registration/login.html'}, name='logout'),
      url(r'^accounts/register/$', management_views.register, name='register'),
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^user/(?P<username>[a-zA-z0-9-_]+)/$', views.user_profile, name='user_profile'),
      url(r'^explore/tags/(?P<hashtag>[a-zA-z0-9_]+)/$', views.explore_hashtag, name="explore_hashtag"),
  )
  