urls.py 222 B

123456789
  1. from django.conf.urls import patterns, include, url
  2. from django.contrib import admin
  3. urlpatterns = patterns('',
  4. url(r'^$', 'socialnetwork.views.redirect'),
  5. url(r'^socialnetwork/', include('socialnetwork.urls')),
  6. )