aboutsummaryrefslogtreecommitdiff
path: root/djangopypi/urls.py
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-05-27 00:34:53 -0400
committerMike Crute <mcrute@gmail.com>2010-05-27 00:34:53 -0400
commit93481083e6fa15490584e61a3f6a5638024f9b31 (patch)
tree5190236c0f91ce1345e58b88a72e7788aa0ace1b /djangopypi/urls.py
parent4fa9ec2ff7f75a64e37aff7cd61b707c2585654b (diff)
downloadchishop-93481083e6fa15490584e61a3f6a5638024f9b31.tar.bz2
chishop-93481083e6fa15490584e61a3f6a5638024f9b31.tar.xz
chishop-93481083e6fa15490584e61a3f6a5638024f9b31.zip
Extracting urlconfs into a simple hierarchy for future sanity.
Diffstat (limited to 'djangopypi/urls.py')
-rw-r--r--djangopypi/urls.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/djangopypi/urls.py b/djangopypi/urls.py
deleted file mode 100644
index 79b16be..0000000
--- a/djangopypi/urls.py
+++ /dev/null
@@ -1,24 +0,0 @@
1# -*- coding: utf-8 -*-
2from django.conf.urls.defaults import patterns, url, include
3
4urlpatterns = patterns("djangopypi.views",
5 # Simple PyPI
6 url(r'^simple/$', "simple",
7 name="djangopypi-simple"),
8
9 url(r'^simple/(?P<dist_name>[\w\d_\.\-]+)/(?P<version>[\w\.\d\-_]+)/$',
10 "show_version",
11 name="djangopypi-show_version"),
12
13 url(r'^simple/(?P<dist_name>[\w\d_\.\-]+)/$', "show_links",
14 name="djangopypi-show_links"),
15
16 url(r'^$', "simple", {'template_name': 'djangopypi/pypi.html'},
17 name="djangopypi-pypi"),
18
19 url(r'^(?P<dist_name>[\w\d_\.\-]+)/$', "show_links",
20 {'template_name': 'djangopypi/pypi_show_links.html'},
21 name="djangopypi-pypi_show_links"),
22
23 url(r'^search','search',name='djangopypi-search')
24) \ No newline at end of file