Source

django-ucsvlog / urls.py

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

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
import views
urlpatterns = patterns('',
    ### this requests needs for demonstration of working
    url(r'^somelog/$',views.somelog), ## how to use logging inside 
    url(r'^sometreelog/$',views.sometreelog), ## how to use branched logging inside
    url(r'^sqlselect/$',views.sqlselect), # how to log sql querys
    url(r'^someerror/$',views.someerror), ## request by this url evokes unhandled exception
    url(r'^files/$',views.files), ##check logging files
    url(r'^json-data/$',views.json_data), ##check logging files
    # Example:
    # (r'^django_pay/', include('django_pay.foo.urls')),

    # 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)),
)