Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/h/chieftain-HEAD/board/urls.py   chieftain(Download)
from django.conf.urls.defaults import patterns
from board.models import SectionFeed, ThreadFeed
 
urlpatterns = patterns("board.views",
    (r"^$", "index"),
    (r"^(?P<section_slug>\w+)/page(?P<page>\d+)$", "section"),
    (r"^(?P<section_slug>\w+)/threads$", "threads"),
    (r"^(?P<section_slug>\w+)/rss$", SectionFeed()),
    (r"^(?P<section_slug>\w+)/search$", "search", {"page": 1}),
    (r"^(?P<section_slug>\w+)/(?P<op_post>\d+)$", "thread"),