*erch* seems as if I also trapped into the SITE_ID problem ... see here http://groups.google.com/group/django-users/browse_thread/thread/6b0c21bb395df46/a1c24b6c76dc6ac1?hl=de&lnk=gst&q=flatpages#a1c24b6c76dc6ac1
On 8 Dez., 02:04, zero <[EMAIL PROTECTED]> wrote: > hm ... I have the same problem, but no solution to it as Loki. > I did exactly the same as what he decribed above. very annoying if > something that simple doesn't work. > I am running django with mod_python and also checked the Apache access > logs to be sure to get that 404 that is required to makeflatpages > work. > Any idea? > > settings.py: > > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', > ) > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.admin', > 'django.contrib.comments', > 'django.contrib.flatpages', > 'mysite.blog', > 'mysite.organizer', > ) > > On 10 Okt., 13:44, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Ah ha. never mind, i found the problem. > > > I have a context processor that is run on every page to determine if a > > new flatpage needs to be created (we are using them in a help system). > > Unfortunately, this was being run on the flatpag itself and couldn't > > resolve the url as a view and so threw a 404. > > > Note to self, 'try' is your friend... > > > Loki --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---