annotate gpp/weblinks/urls.py @ 7:ca66189c7c44
Added tiny_mce to the GPP_THIRD_PARTY_JS setting. Updated code to use it.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 12 Apr 2009 00:31:36 +0000 |
parents |
dbd703f7d63a |
children |
c0d0779b266f |
rev |
line source |
gremmie@1
|
1 """urls for the weblinks application"""
|
gremmie@1
|
2 from django.conf.urls.defaults import *
|
gremmie@1
|
3
|
gremmie@1
|
4 urlpatterns = patterns('weblinks.views',
|
gremmie@1
|
5 url(r'^$', 'link_index', name='weblinks-main'),
|
gremmie@1
|
6 (r'^add/$', 'add_link'),
|
gremmie@1
|
7 (r'^add/thanks/$', 'add_thanks'),
|
gremmie@1
|
8 url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$',
|
gremmie@1
|
9 'view_links',
|
gremmie@1
|
10 name='weblinks-view_links'),
|
gremmie@1
|
11 (r'^new/$', 'new_links'),
|
gremmie@1
|
12 (r'^popular/$', 'popular_links'),
|
gremmie@1
|
13 (r'^random/$', 'random_link'),
|
gremmie@1
|
14 (r'^report/(\d+)/$', 'report_link'),
|
gremmie@1
|
15 (r'^report/thanks/(\d+)$', 'report_thanks'),
|
gremmie@1
|
16 url(r'^search/page/(?P<page>\d+)/$',
|
gremmie@1
|
17 'search_links',
|
gremmie@1
|
18 name="weblinks-search"),
|
gremmie@1
|
19 (r'^visit/(\d+)/$', 'visit'),
|
gremmie@1
|
20 )
|