On za, 2010-02-06 at 07:52 -0800, Jan wrote:
> urlpatterns = patterns('',
> (r'^/$', flatpage, { 'url' : 'home/' } ),
^/$ should be ^$
--
Dennis K.
The universe tends towards maximum irony. Don't push it.
--
You received this message because you are subscribed to the Google Groups
Hi everyone,
I'm new to Django and tried to set up a little project using
flatpages. Here's my url conf:
from django.conf.urls.defaults import *
from django.contrib import admin
admin.autodiscover()
from django.contrib.flatpages.views import flatpage
urlpatterns = patterns('',
2 matches
Mail list logo