You don't need the model to do this. Just add 'mezzanine_tags' to the `loads` template tag on line 2 and you should be good to go.
hth, ken On Wed, Oct 29, 2014 at 1:11 PM, T Kwn <[email protected]> wrote: > Hi all, > Trying to follow tutorials and such but just can't put 2 and 2 > together. I did the following steps: > > 1) changed urls.py to: > url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"), > 2) copied index.html template into my local directory at > templates/pages/index.html. I know mezzanine found it because I changed > some content and I can see the edits. > 3) I have created a model > > https://gist.github.com/anonymous/bef897f79e5b18aa36d0 > > 4) changed index.html to add {% editable ... %} and {% endeditable %} as > seen here: > > https://gist.github.com/anonymous/a3beb73d09477d791b8d > > At this point I get a complaint that {% editable %} shouldn't be inside > the {% block %} ? > > TemplateSyntaxError at / > > Invalid block tag: 'editable', expected 'endblock' > > > http://awesomescreenshot.com/0c93r0tt5d > > What am I missing? > > -- > 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.
