from django.conf.urls import url

#from . import views
from .views import *

app_name = 'dcal'
urlpatterns = [
    url(r'^$',      IndexView.as_view(), name='index'),
    url(r'^[Aa][Bb][Oo][Uu][Tt]$', AboutView.as_view(), name='about'),

    url(r'^(?P<year>\d{4})/$', YearView.as_view(), name='year'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$', YearMonthView.as_view(month_format='%m'), name='year_month'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', YearMonthDayView.as_view(), name='year_month_day'),

    url(r'^(?P<country>[a-zA-Z][a-zA-Z]_?\w*)/$', CountryView.as_view(), name='country'),

    url(r'^(?P<country>[a-zA-Z][a-zA-Z]_?\w*)/(?P<year>[0-9]{4})/$',
        CountryYearView.as_view(),
        name='country_year'),

]
4f6af4db1a827ad1193c76b56185916f44d4ca23
<mask token>

<mask token>
app_name = 'dcal'
urlpatterns = [url('^$', IndexView.as_view(), name='index'), url(
    '^[Aa][Bb][Oo][Uu][Tt]$', AboutView.as_view(), name='about'), url(
    '^(?P<year>\\d{4})/$', YearView.as_view(), name='year'), url(
    '^(?P<year>\\d{4})/(?P<month>\\d{2})/$', YearMonthView.as_view(
    month_format='%m'), name='year_month'), url(
    '^(?P<year>\\d{4})/(?P<month>\\d{2})/(?P<day>\\d{2})/$',
    YearMonthDayView.as_view(), name='year_month_day'), url(
    '^(?P<country>[a-zA-Z][a-zA-Z]_?\\w*)/$', CountryView.as_view(), name=
    'country'), url(
    '^(?P<country>[a-zA-Z][a-zA-Z]_?\\w*)/(?P<year>[0-9]{4})/$',
    CountryYearView.as_view(), name='country_year')]

from django.conf.urls import url
from .views import *
app_name = 'dcal'
urlpatterns = [url('^$', IndexView.as_view(), name='index'), url(
    '^[Aa][Bb][Oo][Uu][Tt]$', AboutView.as_view(), name='about'), url(
    '^(?P<year>\\d{4})/$', YearView.as_view(), name='year'), url(
    '^(?P<year>\\d{4})/(?P<month>\\d{2})/$', YearMonthView.as_view(
    month_format='%m'), name='year_month'), url(
    '^(?P<year>\\d{4})/(?P<month>\\d{2})/(?P<day>\\d{2})/$',
    YearMonthDayView.as_view(), name='year_month_day'), url(
    '^(?P<country>[a-zA-Z][a-zA-Z]_?\\w*)/$', CountryView.as_view(), name=
    'country'), url(
    '^(?P<country>[a-zA-Z][a-zA-Z]_?\\w*)/(?P<year>[0-9]{4})/$',
    CountryYearView.as_view(), name='country_year')]

from django.conf.urls import url

#from . import views
from .views import *

app_name = 'dcal'
urlpatterns = [
    url(r'^$',      IndexView.as_view(), name='index'),
    url(r'^[Aa][Bb][Oo][Uu][Tt]$', AboutView.as_view(), name='about'),

    url(r'^(?P<year>\d{4})/$', YearView.as_view(), name='year'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$', YearMonthView.as_view(month_format='%m'), name='year_month'),
    url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', YearMonthDayView.as_view(), name='year_month_day'),

    url(r'^(?P<country>[a-zA-Z][a-zA-Z]_?\w*)/$', CountryView.as_view(), name='country'),

    url(r'^(?P<country>[a-zA-Z][a-zA-Z]_?\w*)/(?P<year>[0-9]{4})/$',
        CountryYearView.as_view(),
        name='country_year'),

]