Changeset 466 in main


Ignore:
Timestamp:
11/10/11 13:18:21 (8 years ago)
Author:
pcosquer
Message:

fix #43

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/urls.py

    r455 r466  
    8585    (r'^i18n/', include('django.conf.urls.i18n')), 
    8686 
    87     (r'^(?:accounts/)?$', login, {'template_name': 'DisplayLoginPage.htm', 'redirect_field_name': 'next'}), 
     87    (r'^(?:home/)?$', display_home_page), 
     88    (r'^accounts/?$', login, {'template_name': 'DisplayLoginPage.htm', 'redirect_field_name': 'next'}), 
    8889    (r'^(?:accounts/)?login/', login, {'template_name': 'DisplayLoginPage.htm', 'redirect_field_name': 'next'}), 
    8990    (r'^(?:accounts/)?logout/', logout, {'next_page': '/login/', }), 
    90     (r'^home/', display_home_page), 
    9191    (r'^object/create/$', create_object), 
    9292    (r'^comments/', include('django.contrib.comments.urls')), 
Note: See TracChangeset for help on using the changeset viewer.