Changeset 9367 for src/django_gheat


Ignore:
Timestamp:
Jul 12, 2011, 6:50:34 AM (13 years ago)
Author:
rick
Message:

Default to the website entry point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/urls.py

    r9358 r9367  
    11from django.conf.urls.defaults import *
    22from django.contrib.staticfiles.urls import staticfiles_urlpatterns
     3from django.views.generic.simple import redirect_to
    34
    45# Uncomment the next two lines to enable the admin:
     
    89urlpatterns = patterns('',
    910    # Example:
     11    (r'^$', redirect_to, { 'url' : 'website/', 'permanent' : False }),
    1012    (r'^website/', include('website.urls')),
    1113    (r'^gheat/', include('gheat.urls')),
Note: See TracChangeset for help on using the changeset viewer.