view gpp/weblinks/urls.py @ 11:cc8eb028def1

Update jquery-ui and theme version that is hosted on google. In preparation for having jquery on every page (?), make it so that the autocomplete plug is using the 'global' jquery, and not the one that came with it. It seems to work okay with jquery 1.3.2.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Apr 2009 02:35:35 +0000
parents dbd703f7d63a
children c0d0779b266f
line wrap: on
line source
"""urls for the weblinks application"""
from django.conf.urls.defaults import *

urlpatterns = patterns('weblinks.views',
   url(r'^$', 'link_index', name='weblinks-main'),
   (r'^add/$', 'add_link'),
   (r'^add/thanks/$', 'add_thanks'),
   url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$', 
      'view_links',
      name='weblinks-view_links'),
   (r'^new/$', 'new_links'),
   (r'^popular/$', 'popular_links'),
   (r'^random/$', 'random_link'),
   (r'^report/(\d+)/$', 'report_link'),
   (r'^report/thanks/(\d+)$', 'report_thanks'),
   url(r'^search/page/(?P<page>\d+)/$', 
      'search_links',
      name="weblinks-search"),
   (r'^visit/(\d+)/$', 'visit'),
)