1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

# Copyright 2014-2016 The Distro Tracker Developers 

# See the COPYRIGHT file at the top-level directory of this distribution and 

# at https://deb.li/DTAuthors 

# 

# This file is part of Distro Tracker. It is subject to the license terms 

# in the LICENSE file found in the top-level directory of this 

# distribution and at https://deb.li/DTLicense. No part of Distro Tracker, 

# including this file, may be copied, modified, propagated, or distributed 

# except according to the terms contained in the LICENSE file. 

"""URL patterns for the distro_tracker.derivative application.""" 

 

 

from django.conf.urls import url 

 

from .views import comparison, index 

 

urlpatterns = [ 

url('^derivative/$', index, name='dtracker-derivative-index'), 

url('^derivative/(?P<distribution>[^/]+)/$', comparison, 

name='dtracker-derivative-comparison'), 

] 

 

frontpagelinks = [ 

('dtracker-derivative-index', 'Data about this Debian derivative'), 

]