Next Revision →BlameRevision Log

source: infrastruktur/wblankonin/urls.py

Last change on this file was wblankonin,3, checked in by mdamt <mdamt@…>, 7 years ago

w.blankon.in is ready to roll

File size: 831 bytes
Line 
1from django.conf.urls.defaults import *
2from wblankonin.views import *
3from django.conf import settings
4
5# Uncomment the next two lines to enable the admin:
6# from django.contrib import admin
7# admin.autodiscover()
8
9urlpatterns = patterns('',
10    # Example:
11    # (r'^wbi/', include('wbi.foo.urls')),
12
13    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
14    # to INSTALLED_APPS to enable admin documentation:
15    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
16
17    # Uncomment the next line to enable the admin:
18    # (r'^admin/', include(admin.site.urls)),
19    (r'^$', index),
20    (r'^jadi/(?P<url>.*)$', shorten),
21    (r'^JADI/(?P<url>.*)$', shorten_raw),
22    (r'^m/(?P<path>.*)$', 'django.views.static.serve',
23    {'document_root': settings.MEDIA_ROOT}),
24    (r'^(?P<code>.*)$', jump),
25)
Note: See TracBrowser for help on using the repository browser.