old_contents: from django.conf.urls import url
  from django.conf.urls.static import static
  from django.views.generic import TemplateView, RedirectView
  from os import walk
  from ontology import views
  from oeplatform import settings
  
  urlpatterns = [
    url(r"^$", TemplateView.as_view(template_name="ontology/about.html")),
    url(r"^ontology$", TemplateView.as_view(template_name="ontology/about.html")),
    url(r"^oeo-steering-committee$",
        TemplateView.as_view(template_name="ontology/oeo-steering-committee.html"),
        name="oeo-s-c"),
    url(r"^ontology/oeo-steering-committee$", TemplateView.as_view(template_name="ontology/oeo-steering-committee.html")),
    url(r"^(?P<ontology>[\w_-]+)\/releases(\/v?(?P<version>[\d\.]+))?\/imports\/(?P<file>[\w_-]+)(.(?P<extension>[\w_-]+))?$",
        views.OntologyStatics.as_view(), {"imports": True}),
  
    url(r"^(?P<ontology>[\w_-]+)\/releases(\/v?(?P<version>[\d\.]+))?\/(?P<file>[\w_-]+)(.(?P<extension>[\w_-]+))?$",
        views.OntologyStatics.as_view()),
  
    url(r"^(?P<ontology>[\w_-]+)\/imports\/(?P<module_or_id>[\w\d_-]+)",
        views.OntologyOverview.as_view(), {"imports": True}),
  
    url(r"^(?P<ontology>[\w_-]+)(/(?P<module_or_id>[\w\d_-]+))?",
        views.OntologyOverview.as_view()),
  
  ]
  
new_contents: from django.conf.urls import url
  from django.conf.urls.static import static
  from django.views.generic import TemplateView, RedirectView
  from os import walk
  from ontology import views
  from oeplatform import settings
  
  urlpatterns = [
    url(r"^$", TemplateView.as_view(template_name="ontology/about.html")),
    url(r"^ontology/$", TemplateView.as_view(template_name="ontology/about.html")),
    url(r"^oeo-steering-committee/$",
        TemplateView.as_view(template_name="ontology/oeo-steering-committee.html"),
        name="oeo-s-c"),
    url(r"^ontology/oeo-steering-committee/$", TemplateView.as_view(template_name="ontology/oeo-steering-committee.html")),
    url(r"^(?P<ontology>[\w_-]+)\/releases(\/v?(?P<version>[\d\.]+))?\/imports\/(?P<file>[\w_-]+)(.(?P<extension>[\w_-]+))?$",
        views.OntologyStatics.as_view(), {"imports": True}),
  
    url(r"^(?P<ontology>[\w_-]+)\/releases(\/v?(?P<version>[\d\.]+))?\/(?P<file>[\w_-]+)(.(?P<extension>[\w_-]+))?$",
        views.OntologyStatics.as_view()),
  
    url(r"^(?P<ontology>[\w_-]+)\/imports\/(?P<module_or_id>[\w\d_-]+)",
        views.OntologyOverview.as_view(), {"imports": True}),
  
    url(r"^(?P<ontology>[\w_-]+)(/(?P<module_or_id>[\w\d_-]+))?",
        views.OntologyOverview.as_view()),
  
  ]
  
subject: Add trailing slash to url resolv