old_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.conf.urls.static import static
  from django.views.generic import TemplateView
  
  from .views import GuideList, GuideDetail, ContentDetail
  
  urlpatterns = patterns('cacao.views',
      url(r'^$', GuideList.as_view(), name="home"),
      url(r'^guia/(?P<number>\d+)/$', GuideDetail.as_view(), name="guia_detail"),
      url(r'^guia/(?P<guide>\d+)/contenido/(?P<slug>[-\w]+)/$', ContentDetail.as_view(), name="contenido_detail"),
      url(r'^guia/descargar/guia(?P<guide_id>\d+)-version(?P<version>\d+).zip$', 'download_guide', name="download_guide"),
      url(r'^render/$', 'render_element', name="render_element"),
  
      # pdf
      url(r'pdf/(?P<guide_number>\d+)/$', 'create_pdf', name="create_pdf"),
  
      # api
      url(r'^api/v1/guides/$', 'guides_collection'),
      url(r'^api/v1/guide/(?P<number>\d+)/$', 'guide_elements'),
      url(r'^api/v1/guide/(?P<number>\d+)/version/(?P<num_version>\d+)/$', 'guide_element'),
      url(r'^api/v1/guide/(?P<number>\d+)/last/$', 'guide_last'),
  )
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.conf.urls.static import static
  from django.views.generic import TemplateView
  
  from .views import GuideList, GuideDetail, ContentDetail
  
  urlpatterns = patterns('cacao.views',
      url(r'^$', GuideList.as_view(), name="home"),
      url(r'^guia/(?P<number>\d+)/$', GuideDetail.as_view(), name="guia_detail"),
      url(r'^guia/(?P<guide>\d+)/contenido/(?P<slug>[-\w]+)/$', ContentDetail.as_view(), name="contenido_detail"),
      url(r'^guia/descargas/guia(?P<guide_id>\d+)-version(?P<version>\d+).zip$', 'download_guide', name="download_guide"),
      url(r'^render/$', 'render_element', name="render_element"),
  
      # pdf
      url(r'pdf/(?P<guide_number>\d+)/$', 'create_pdf', name="create_pdf"),
  
      # api
      url(r'^api/v1/guides/$', 'guides_collection'),
      url(r'^api/v1/guide/(?P<number>\d+)/$', 'guide_elements'),
      url(r'^api/v1/guide/(?P<number>\d+)/version/(?P<num_version>\d+)/$', 'guide_element'),
      url(r'^api/v1/guide/(?P<number>\d+)/last/$', 'guide_last'),
  )
  
subject: fix para engañar al app de android 2