# -*- coding: UTF-8 -*-
from django.conf.urls import url, patterns
from django.shortcuts import redirect

urlpatterns = patterns('movies.views',
    url(r'^$', lambda request: redirect('featured_movie_list')),
    url(r'^editors-picks/$', 'movie_list', {'featured': True}, name='featured_movie_list'),
    url(r'^commercial/$', 'movie_list', {'commercial': True}, name='commercial_movie_list'),
    url(r'^independent/$', 'movie_list', {'independent': True}, name='independent_movie_list'),
    url(r'^(?P<slug>[^/]+)/$', 'movie_detail', name='movie_detail'),
)