from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'fbxnano.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url('^status$', TemplateView.as_view(template_name='api/status.html'), name='status'),
)

from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView


from .views import StatusView


urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'fbxnano.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url('^status$', StatusView.as_view(), name='status'),
)

Switch from generic TemplateView to new StatusView
Switch from generic TemplateView to new StatusView
