"Syntax Error" is exactly what was expected because the string substitution operator is missing.
I use vim-flake8 to check the syntax and PEP-8 compliance on file save. "Save" here has another meaning; this tool saves my sanity daily. Do you have `from mezzanine.conf import settings` at the top of your urls.py file? best, ken On Mon, Jun 9, 2014 at 12:41 PM, roland balint <[email protected]> wrote: > i have it as "events" > gives me the syntax error > if i add % in between then error changes to "settings not defined" > thx > rb > > > On Friday, June 6, 2014 4:16:29 PM UTC-4, Kenneth Bolton wrote: > >> What is the value of EVENT_SLUG in your settings? >> >> >> What error message did you get? >> >> >> (“^%s/“ settings.EVENT_SLUG, include(“mezzanine_agenda.urls”)) >> The above has the string-substitution operator missing between “^%s/“ >> and settings. >> >> >> >> On Fri, Jun 6, 2014 at 3:12 PM, roland balint <[email protected]> wrote: >> >>> if anyone interested - got this running by changing urls add to this: >>> "("^events/", include("mezzanine_agenda.urls"))," >>> thx >>> rb >>> >>> On Wednesday, May 28, 2014 4:26:09 PM UTC-4, roland balint wrote: >>>> >>>> trying to get mezzanine_agenda working and it fails at this >>>> instruction; can anyone help? >>>> >>>> Add ("^%s/" settings.EVENT_SLUG, include("mezzanine_agenda.urls")) to >>>> your urls.py >>>> >>>> thx >>>> rb >>>> >>> -- >>> 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. > -- 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.
