# -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url
from django_qbe.exports import formats

urlpatterns = patterns('django_qbe.views',
    url(r'^$', 'qbe_form', name="qbe_form"),
    url(r'^js/$', 'qbe_js', name="qbe_js"),
    url(r'^results/bookmark/$',
        'qbe_bookmark', name="qbe_bookmark"),
    url(r'^results/export/(?P<format>(%s))/$' % "|".join(formats.keys()),
        'qbe_export', name="qbe_export"),
    url(r'^results/proxy/$',
        'qbe_proxy', name="qbe_proxy"),
    url(r'^results/(?P<query_hash>(.*))/$',
        'qbe_results', name="qbe_results"),
    url(r'^auto/$', 'qbe_autocomplete', name="qbe_autocomplete"),
)

[((6, 4, 6, 43), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((7, 4, 7, 42), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((8, 4, 9, 44), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((12, 4, 13, 38), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((14, 4, 15, 42), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((16, 4, 16, 64), 'django.conf.urls.defaults.url', 'url', (), '', False, 'from django.conf.urls.defaults import patterns, url\n'), ((10, 57, 10, 71), 'django_qbe.exports.formats.keys', 'formats.keys', ({}, {}), '()', False, 'from django_qbe.exports import formats\n')]