# Path: webalyzer/analyzer/views.py
# def diff_table(before, after):
# def tmpfilename(content, extension=''):
# def prettify_css(css):
# def index(request, *args, **kwargs):
# def recent_submissions(request):
# def submit(request):
# def analyzed(request, domain):
# def source_view(request, domain, id):
# def diff_view(request, domain, id):
# def download(request, domain, id, which, filename):
#     POST = json.loads(request.body)


from django.conf.urls import patterns, url
from webalyzer.analyzer import views



urlpatterns = patterns(
    '',
    url(r'^$', views.index, name='index'),
    url(r'^submit/$', views.submit, name='submit'),
    url(
        r'^recent-submissions$',
        views.recent_submissions,
        name='recent_submissions'
    ),
    url(r'^(?P<domain>[\w\.]+)$', views.index, name='analyzed'),

# Path: webalyzer/analyzer/views.py
# def diff_table(before, after):
# def tmpfilename(content, extension=''):
# def prettify_css(css):
# def index(request, *args, **kwargs):
# def recent_submissions(request):
# def submit(request):
# def analyzed(request, domain):
# def source_view(request, domain, id):
# def diff_view(request, domain, id):
# def download(request, domain, id, which, filename):
#     POST = json.loads(request.body)


# Path: webalyzer/analyzer/urls.py
from django.conf.urls import patterns, url
from webalyzer.analyzer import views




urlpatterns = patterns(
    '',
    url(r'^$', views.index, name='index'),
    url(r'^submit/$', views.submit, name='submit'),
    url(
        r'^recent-submissions$',
        views.recent_submissions,
        name='recent_submissions'
    ),
    url(r'^(?P<domain>[\w\.]+)$', views.index, name='analyzed'),

    url(r'^(?P<domain>[\w\.]+)/data$', views.analyzed, name='analyzed_data'),