old_contents: from django.conf.urls.defaults import patterns, url
  from django.views.generic import ListView, DetailView
  
  from votes.models import Proposal, RecommendationData
  
  from votes.feeds import LatestProposalsFeed
  
  urlpatterns = patterns('',
      url(r'^$', ListView.as_view(model=Proposal), name='index'),
      url(r'^import/$', ListView.as_view(model=RecommendationData), name='import'),
      url(r'^import/(?P<pk>\d+)/$', DetailView.as_view(model=RecommendationData), name='import_vote'),
      url(r'^latest/feed', LatestProposalsFeed(), name='lastest-rss'),
  )
  
new_contents: from django.conf.urls.defaults import patterns, url
  from django.views.generic import ListView, DetailView
  from django.shortcuts import get_object_or_404, redirect
  
  from votes.models import Proposal, RecommendationData
  
  from votes.feeds import LatestProposalsFeed
  
  
  def dont_broke_old_urls(request, pk):
      get_object_or_404(Proposal, pk=pk)
      from ipdb import set_trace; set_trace()
      return redirect(request.path.replace("/votes", "/europe/parliament/vote"))
  
  
  urlpatterns = patterns('',
      url(r'^$', ListView.as_view(model=Proposal), name='index'),
      url(r'^import/$', ListView.as_view(model=RecommendationData), name='import'),
      url(r'^import/(?P<pk>\d+)/$', DetailView.as_view(model=RecommendationData), name='import_vote'),
      url(r'^latest/feed', LatestProposalsFeed(), name='lastest-rss'),
      url(r'^(?P<pk>[a-zA-Z/-_]+)/(.*)$', dont_broke_old_urls),
  )
  
subject: add redirection code to avoid breaking old urls