tracker_urls.py 822 B

1234567891011121314151617181920212223
  1. # Copyright 2015-2016 The Distro Tracker Developers
  2. # See the COPYRIGHT file at the top-level directory of this distribution and
  3. # at http://deb.li/DTAuthors
  4. #
  5. # This file is part of Distro Tracker. It is subject to the license terms
  6. # in the LICENSE file found in the top-level directory of this
  7. # distribution and at http://deb.li/DTLicense. No part of Distro Tracker,
  8. # including this file, may be copied, modified, propagated, or distributed
  9. # except according to the terms contained in the LICENSE file.
  10. """The URL routes for the vendor.debian app."""
  11. from __future__ import unicode_literals
  12. from django.conf.urls import url
  13. from distro_tracker.vendor.debian.views import CodeSearchView
  14. urlpatterns = [
  15. # code search
  16. url(r'^codesearch/$', CodeSearchView.as_view(),
  17. name='dtracker-code-search'),
  18. ]