Show
Ignore:
Timestamp:
10/31/07 09:59:38 (13 months ago)
Author:
JensDiemer
Message:

add a permalink redirect

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/urls.py

    r1229 r1300  
    7676    ), 
    7777    #_____________________________________ 
     78    # permalink 
     79    ( 
     80        ( 
     81            '^%s/' 
     82            '(?P<page_id>\d+)/$' 
     83        ) % settings.PERMALINK_URL_PREFIX, 
     84        'PyLucid.index.permalink' 
     85    ), 
     86    #_____________________________________ 
    7887    # CMS PAGE VIEW 
    7988    # A normal CMS page url simply consists of the page shortcuts. 
     
    102111    #-------------------------------------------------------------------------- 
    103112) 
    104  
    105113urlpatterns = patterns('', *urls)