from django.conf.urls import url, patterns

from newswall.feeds import StoryFeed
from newswall import views


urlpatterns = patterns(
    '',
    url(r'^feed/$', StoryFeed()),
    url(r'^$',
        views.ArchiveIndexView.as_view(),
        name='newswall_entry_archive'),
    url(r'^(?P<year>\d{4})/$',
        views.YearArchiveView.as_view(),
        name='newswall_entry_archive_year'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$',
        views.MonthArchiveView.as_view(),
        name='newswall_entry_archive_month'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$',
        views.DayArchiveView.as_view(),
        name='newswall_entry_archive_day'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
        views.DateDetailView.as_view(),
        name='newswall_entry_detail'),
    url(r'^source/(?P<slug>[-\w]+)/$',
        views.SourceArchiveIndexView.as_view(),
        name='newswall_source_detail'),
)

from django.conf.urls import url, patterns

from newswall.feeds import StoryFeed
from newswall import views

urlpatterns = patterns(
    '',
    url(r'^feed/$', StoryFeed()),
    url(r'^$',
        views.ArchiveIndexView.as_view(),
        name='newswall_entry_archive'),
    url(r'^(?P<year>\d{4})/$',
        views.YearArchiveView.as_view(),
        name='newswall_entry_archive_year'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$',
        views.MonthArchiveView.as_view(),
        name='newswall_entry_archive_month'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$',
        views.DayArchiveView.as_view(),
        name='newswall_entry_archive_day'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[-\w]+)/$',
        views.DateDetailView.as_view(),
        name='newswall_entry_detail'),
    url(r'^source/(?P<slug>[-\w]+)/$',
        views.SourceArchiveIndexView.as_view(),
        name='newswall_source_detail'),
)

Test to see if commit works.
Test to see if commit works.
