old_contents: # coding: utf-8
  
  from __future__ import unicode_literals
  from django.conf.urls import patterns, url
  from django.views.generic import RedirectView
  from dossiers.views import (
      CategorieDeDossiersList, DossierDEvenementsDetail,
      DossierDEvenementsDataDetail, DossierDEvenementsDetailXeLaTeX,
      OperaComiquePresentation, OperaComiqueListView,
      DossierDEvenementsDataGeoJson, DossierDEvenementsDataExport)
  
  
  urlpatterns = patterns('',
      url(r'^$', CategorieDeDossiersList.as_view(),
          name='dossierdevenements_index'),
      url(r'^id/62/?$', RedirectView.as_view(
          pattern_name='dossier_opera_comique_presentation', permanent=False)),
      url(r'^archives[-\.]opera-comique/$', OperaComiquePresentation.as_view(),
          name='dossier_opera_comique_presentation'),
      url(r'^archives[-\.]opera-comique/data$', OperaComiqueListView.as_view(),
          name='dossier_opera_comique'),
      url(r'^(?P<slug>[\w-]+)/$', DossierDEvenementsDetail.as_view(),
          name='dossierdevenements_detail'),
      url(r'^id/(?P<pk>\d+)/$', DossierDEvenementsDetail.as_view(),
          name='dossierdevenements_permanent_detail'),
      url(r'^(?P<slug>[\w-]+)/data$', DossierDEvenementsDataDetail.as_view(),
          name='dossierdevenements_data_detail'),
      url(r'^id/(?P<pk>\d+)/data$', DossierDEvenementsDataDetail.as_view(),
          name='dossierdevenements_data_permanent_detail'),
      url(r'^(?P<slug>[\w-]+)/geojson$', DossierDEvenementsDataGeoJson.as_view(),
          name='dossierdevenements_data_geojson'),
      url(r'^id/(?P<pk>\d+)/geojson$', DossierDEvenementsDataGeoJson.as_view(),
          name='dossierdevenements_data_permanent_geojson'),
      url(r'^(?P<slug>[\w-]+)/export',
          DossierDEvenementsDataExport.as_view(),
          name='dossierdevenements_data_export'),
      url(r'^id/(?P<pk>\d+)/export',
          DossierDEvenementsDataExport.as_view(),
          name='dossierdevenements_data_export'),
      url(r'^(?P<slug>[\w-]+)/export-pdf',
          DossierDEvenementsDetailXeLaTeX.as_view(),
          name='dossierdevenements_detail_xelatex'),
      url(r'^id/(?P<pk>\d+)/export-pdf',
          DossierDEvenementsDetailXeLaTeX.as_view(),
          name='dossierdevenements_detail_permanent_xelatex'),
  )
  
new_contents: # coding: utf-8
  
  from __future__ import unicode_literals
  from django.conf.urls import patterns, url
  from django.views.generic import RedirectView
  from dossiers.views import (
      CategorieDeDossiersList, DossierDEvenementsDetail,
      DossierDEvenementsDataDetail, DossierDEvenementsDetailXeLaTeX,
      OperaComiquePresentation, OperaComiqueListView,
      DossierDEvenementsDataGeoJson, DossierDEvenementsDataExport)
  
  
  urlpatterns = patterns('',
      url(r'^$', CategorieDeDossiersList.as_view(),
          name='dossierdevenements_index'),
      url(r'^id/62/?$', RedirectView.as_view(
          pattern_name='dossier_opera_comique_presentation', permanent=False)),
      url(r'^archives[-\.]opera-comique/$', OperaComiquePresentation.as_view(),
          name='dossier_opera_comique_presentation'),
      url(r'^archives[-\.]opera-comique/data$', OperaComiqueListView.as_view(),
          name='dossier_opera_comique'),
      url(r'^(?P<slug>[\w-]+)/$', DossierDEvenementsDetail.as_view(),
          name='dossierdevenements_detail'),
      url(r'^id/(?P<pk>\d+)/$', DossierDEvenementsDetail.as_view(),
          name='dossierdevenements_permanent_detail'),
      url(r'^(?P<slug>[\w-]+)/data$', DossierDEvenementsDataDetail.as_view(),
          name='dossierdevenements_data_detail'),
      url(r'^id/(?P<pk>\d+)/data$', DossierDEvenementsDataDetail.as_view(),
          name='dossierdevenements_data_permanent_detail'),
      url(r'^(?P<slug>[\w-]+)/geojson$', DossierDEvenementsDataGeoJson.as_view(),
          name='dossierdevenements_data_geojson'),
      url(r'^id/(?P<pk>\d+)/geojson$', DossierDEvenementsDataGeoJson.as_view(),
          name='dossierdevenements_data_permanent_geojson'),
      url(r'^(?P<slug>[\w-]+)/export$',
          DossierDEvenementsDataExport.as_view(),
          name='dossierdevenements_data_export'),
      url(r'^id/(?P<pk>\d+)/export$',
          DossierDEvenementsDataExport.as_view(),
          name='dossierdevenements_data_export'),
      url(r'^(?P<slug>[\w-]+)/export-pdf$',
          DossierDEvenementsDetailXeLaTeX.as_view(),
          name='dossierdevenements_detail_xelatex'),
      url(r'^id/(?P<pk>\d+)/export-pdf$',
          DossierDEvenementsDetailXeLaTeX.as_view(),
          name='dossierdevenements_detail_permanent_xelatex'),
  )
  
subject: Corrige un bug avec les urls de dossier.