summaryrefslogtreecommitdiff
path: root/yaksh/demo_templates/demo_urls.py
blob: 5abc1212b8a90f1f7b1f6570915d0070b4b732e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'my_demo.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^exam/', include('yaksh.urls', namespace='yaksh', app_name='yaksh')),
    url(r'^', include('social.apps.django_app.urls', namespace='social')),
)
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)