annotate downloads/urls.py @ 1132:1407af5472e4
Add our own table stack.
Foundation's table.stack only shows the first th in a thead. Added my own
version that shows all of them.
Updated templates to use new class.
author |
Brian Neal <bgneal@gmail.com> |
date |
Wed, 28 Sep 2016 20:25:29 -0500 |
parents |
5ba2508939f7 |
children |
|
rev |
line source |
gremmie@1
|
1 """
|
gremmie@1
|
2 URLs for the downloads application.
|
gremmie@1
|
3 """
|
bgneal@1028
|
4 from django.conf.urls import url
|
gremmie@1
|
5
|
bgneal@1028
|
6 import downloads.views
|
bgneal@1028
|
7
|
bgneal@1028
|
8 urlpatterns = [
|
bgneal@1028
|
9 url(r'^$', downloads.views.index, name='downloads-index'),
|
bgneal@1028
|
10 url(r'^add/$', downloads.views.add, name='downloads-add'),
|
bgneal@241
|
11 url(r'^category/(?P<slug>[\w\d-]+)/(?P<sort>title|date|rating|hits)/$',
|
bgneal@1028
|
12 downloads.views.category,
|
gremmie@1
|
13 name='downloads-category'),
|
bgneal@1028
|
14 url(r'^details/(\d+)/$', downloads.views.details, name='downloads-details'),
|
bgneal@1028
|
15 url(r'^new/$', downloads.views.new, name='downloads-new'),
|
bgneal@1028
|
16 url(r'^popular/$', downloads.views.popular, name='downloads-popular'),
|
bgneal@1028
|
17 url(r'^request/$', downloads.views.request_download, name='downloads-request_download'),
|
bgneal@1028
|
18 url(r'^rate/$', downloads.views.rate_download, name='downloads-rate'),
|
bgneal@1028
|
19 url(r'^rating/$', downloads.views.rating, name='downloads-rating'),
|
bgneal@1028
|
20 url(r'^thanks/$', downloads.views.thanks, name='downloads-add_thanks'),
|
bgneal@1028
|
21 ]
|