# Path: prometapi/views.py
# class List(object):
# class EventsList(List):
#     def __init__(self, model):
#     def __call__(self, request):
#     def resp_latest(self, objects):
#     def __call__(self, request):
# def jsonresponse(func):
#     def _inner(*args, **kwargs):
# def gk_to_wgs84(request):
# def debug_promet(request):
# def debug_compat(request):


from django.conf import settings
from django.conf.urls import url
from django.views.generic.base import RedirectView
from prometapi import views

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

urlpatterns = [
    # Examples:
    # url(r'^$', views.home, name='home'),
    # url(r'^prometapi/', include('prometapi.foo.urls')),

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

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^promet/$', RedirectView.as_view(url='https://github.com/zejn/prometapi/blob/master/README.rst')),
    url(r'^promet/events/$', views.events),
    url(r'^promet/cameras/', views.cameras),
    url(r'^promet/burja/', views.burja),
    url(r'^promet/burjaznaki/', views.burjaznaki),
    url(r'^promet/counters/', views.counters),
    url(r'^promet/parkirisca/lpt/', views.parkirisca_lpt),
    url(r'^promet/bicikelj/list/', views.bicikelj),

# Path: prometapi/views.py
# class List(object):
# class EventsList(List):
#     def __init__(self, model):
#     def __call__(self, request):
#     def resp_latest(self, objects):
#     def __call__(self, request):
# def jsonresponse(func):
#     def _inner(*args, **kwargs):
# def gk_to_wgs84(request):
# def debug_promet(request):
# def debug_compat(request):


# Path: prometapi/urls.py
from django.conf import settings
from django.conf.urls import url
from django.views.generic.base import RedirectView
from prometapi import views


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

urlpatterns = [
    # Examples:
    # url(r'^$', views.home, name='home'),
    # url(r'^prometapi/', include('prometapi.foo.urls')),

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

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    url(r'^promet/$', RedirectView.as_view(url='https://github.com/zejn/prometapi/blob/master/README.rst')),
    url(r'^promet/events/$', views.events),
    url(r'^promet/cameras/', views.cameras),
    url(r'^promet/burja/', views.burja),
    url(r'^promet/burjaznaki/', views.burjaznaki),
    url(r'^promet/counters/', views.counters),
    url(r'^promet/parkirisca/lpt/', views.parkirisca_lpt),
    url(r'^promet/bicikelj/list/', views.bicikelj),

    url(r'^promet/gk_to_wgs84/', views.gk_to_wgs84),