url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', GalleryDayArchiveView.as_view(), name='pl-gallery-archive-day'), url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', GalleryMonthArchiveView.as_view(), name='pl-gallery-archive-month'), url(r'^gallery/(?P<year>\d{4})/$', GalleryYearArchiveView.as_view(), name='pl-gallery-archive-year'), url(r'^gallery/$', GalleryListView.as_view(), name='pl-gallery-archive'), url(r'^$', RedirectView.as_view(url=reverse_lazy('pl-gallery-archive')), name='pl-photologue-root'), url(r'^gallery/(?P<slug>[\-\d\w]+)/$', GalleryDetailView.as_view() , name='pl-gallery'), url(r'^gallery/page/(?P<page>[0-9]+)/$', GalleryListView.as_view(), name='pl-gallery-list'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\-\d\w]+)/$', PhotoDateDetailView.as_view(), name='pl-photo-detail'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', PhotoDayArchiveView.as_view(), name='pl-photo-archive-day'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', PhotoMonthArchiveView.as_view(), name='pl-photo-archive-month'), url(r'^photo/(?P<year>\d{4})/$', PhotoYearArchiveView.as_view(), name='pl-photo-archive-year'), url(r'^photo/$',
GalleryDateDetailView.as_view(), name='pl-gallery-detail'), url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', GalleryDayArchiveView.as_view(), name='pl-gallery-archive-day'), url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', GalleryMonthArchiveView.as_view(), name='pl-gallery-archive-month'), url(r'^gallery/(?P<year>\d{4})/$', GalleryYearArchiveView.as_view(), name='pl-gallery-archive-year'), url(r'^gallery/$', GalleryArchiveIndexView.as_view(), name='pl-gallery-archive'), url(r'^gallery/(?P<slug>[\-\d\w]+)/$', GalleryDetailView.as_view(), name='pl-gallery'), url(r'^gallery/page/(?P<page>[0-9]+)/$', GalleryListView.as_view(), name='pl-gallery-list'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\-\d\w]+)/$', PhotoDateDetailView.as_view(), name='pl-photo-detail'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', PhotoDayArchiveView.as_view(), name='pl-photo-archive-day'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', PhotoMonthArchiveView.as_view(), name='pl-photo-archive-month'), url(r'^photo/(?P<year>\d{4})/$', PhotoYearArchiveView.as_view(), name='pl-photo-archive-year'), url(r'^photo/$',
GalleryDateDetailView.as_view(), name='pl-gallery-detail'), url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', GalleryDayArchiveView.as_view(), name='pl-gallery-archive-day'), url(r'^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', GalleryMonthArchiveView.as_view(), name='pl-gallery-archive-month'), url(r'^gallery/(?P<year>\d{4})/$', GalleryYearArchiveView.as_view(), name='pl-gallery-archive-year'), url(r'^gallery/$', GalleryArchiveIndexView.as_view(), name='pl-gallery-archive'), url(r'^gallery/(?P<slug>[\-\d\w]+)/$', GalleryDetailView.as_view(), name='pl-gallery'), url(r'^gallery/page/(?P<page>[0-9]+)/$', GalleryListView.as_view(), name='pl-gallery-list'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\-\d\w]+)/$', PhotoDateDetailView.as_view(), name='pl-photo-detail'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', PhotoDayArchiveView.as_view(), name='pl-photo-archive-day'), url(r'^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', PhotoMonthArchiveView.as_view(), name='pl-photo-archive-month'), url(r'^photo/(?P<year>\d{4})/$', PhotoYearArchiveView.as_view(),
from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView, DetailView, ListView from photologue.views import PhotoListView, GalleryListView, GalleryDetailView, PhotoDetailView from .models import Event, Organization from .views import HomeView, SpeakersView, SpeakersDetailView, ActivitiesView, AttendeeDetailView, AttendeeBadgeView, AttendeePNGView, AttendeePDFView, AttendeeReceiptView, ContentView, event, OrganizationsView, FAQView, PresentationsView urlpatterns = [ # pics #url(r'^photologue/', include('photologue.urls', namespace='photologue')), url(r'^(?P<slug>[\w-]+)/gallery/$', GalleryDetailView.as_view(), name='gallery'), url(r'^(?P<eventslug>[\w-]+)/photo/(?P<slug>[\w-]+)$', PhotoDetailView.as_view(), name='photo'), url(r'^(?P<slug>[\w-]+)/photologue/', include('photologue.urls', namespace='photologue')), # home url(r'^$', HomeView.as_view(), name='home'), # content url(r'^(?P<slug>[\w-]+)/confirmation/$', ContentView.as_view(page='confirmation'), name='confirmation'), url(r'^confirmation/$', ContentView.as_view(page='confirmation'), name='confirmationmail'), url(r'^(?P<slug>[\w-]+)/about/$', ContentView.as_view(page='about'), name='about'), # FIXME: services? url(r'^(?P<slug>[\w-]+)/services/$', ContentView.as_view(page='services'), name='services'), url(r'^(?P<slug>[\w-]+)/contact/$', ContentView.as_view(page='contact'), name='contact'), # FIXME: necesitamos esto como flatpage? url(r'^(?P<slug>[\w-]+)/attendees/$', ContentView.as_view(page='attendees'), name='attendees'),