Source

reviewanywhere / urls.py

Full commit
from django.conf.urls.defaults import *
from django.conf import settings

from review_anywhere.settings import path
from review_anywhere.views import view_index, view_example

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    url('^$', view_index,
        name='index'),

    url('^example.html$', view_example,
        name='example'),

    url('^comments/', include('reviewanywhere.urls'),
        name='comments'),

    url(r'^media/(?P<path>.*)$', 'django.views.static.serve',
        { 'document_root': settings.MEDIA_ROOT },
        name='media'),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)