My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from django.conf.urls.defaults import *
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
# Example:

# Uncomment this for admin:
#(r'^admin/', include('django.contrib.admin.urls')),
('^admin/(.*)', admin.site.root),
#('^blog/', include('blog.urls')),
('^mail/', include('mail.urls')),
#(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media', 'show_indexes': True}),
('^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'media/'}),
('^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'admin/login.html'}),
)
Show details Hide details

Change log

r46 by notiggy on Nov 30, 2008   Diff
port to django-1.0
Go to: 
Project members, sign in to write a code review

Older revisions

r12 by notiggy on Apr 13, 2007   Diff
forgot to add new stuff for the last
folder tree view and more toolbar work
r11 by notiggy on Apr 13, 2007   Diff
folder tree view and more toolbar work
r10 by seemantk on Apr 13, 2007   Diff
porting to use UserProfile as part of
the extended User attributes.  now the
user's imap password is stored in the
UserProfile instead
All revisions of this file

File info

Size: 664 bytes, 17 lines
Hosted by Google Code