Hi,

I have tested this having set slug to / manually and simply uncommenting
one line in urls.py. Why your homepage slug is set to something else than /?
If the whole page has prefix /accueil, I would set it in SITE_PREFIX
settings.


Jakub

2016-03-16 11:29 GMT+01:00 Encolpe Degoute <[email protected]>:

> Hello,
>
> Following the documentation I create a page with the URL '/accueil'.
> I can see it on http://localhost/accueil/.
>
> So in the dispatcher I added the following line and it raises a 404:
>
> url("^$", mezzanine.pages.views.page, {"slug": "/accueil/"}, name="home"),
>
> When I'm going into http://localhost/ I'm redirected to
> http://localhost/fr/
>
> I'm using the i18n settings:
> LANGUAGE_CODE = 'fr-fr'
> TIME_ZONE = 'Europe/Paris'
>
> LANGUAGES = (
>     ('fr', _('French')),
>     ('en', _('English')),
> )
>
> USE_I18N = True
> USE_L10N = True
> USE_TZ = True
>
> I tried to use slug='/fr/accueil/' without success.
>
> Best regards
> --
> Encolpe
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to