view bns_website/urls.py @ 87:fbeda0f5f3be

Fix for odd Webkit CSS issue when using jPlayer Blue Monday skin and our CSS. All instances of the Future Bugler font on the Listen page were jaggie and smaller than expected.
author Chris Ridgway <ckridgway@gmail.com>
date Sun, 27 Nov 2011 15:06:26 -0600
parents a0d3bc630ebd
children 1b5def90f5bf
line wrap: on
line source
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
from django.views.generic.base import TemplateView
from django.views.generic import ListView

from bands.models import Band
from news.models import News
from reviews.models import Review

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$',
        TemplateView.as_view(template_name="home.html"),
        name="home"),
    url(r'^reviews/$',
        ListView.as_view(model=Review),
        name="reviews"),
    url(r'^bands/$',
        ListView.as_view(model=Band),
        name="bands"),
    url(r'^news/$',
        ListView.as_view(model=News),
        name="news"),
    url(r'^listen/$',
        TemplateView.as_view(template_name="music.html"),
        name="music"),
    url(r'^watch/$', include('videos.urls')),
    url(r'^buy/$',
        TemplateView.as_view(template_name="buy.html"),
        name="buy"),
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)