+from django.conf import settings
from django.conf.urls.defaults import *
from ee.influences.models import Character
(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'base/login.html'}),
(r'^accounts/logout/$', 'django.contrib.auth.views.logout_then_login'),
)
+
+if settings.DEBUG:
+ urlpatterns += patterns('',
+ (r'^static/(?P<path>.*)$', 'django.views.static.serve',
+ {'document_root': '/home/matthijs/docs/src/django/ee/static/'}),
+ )