Figured it out.

Caching, oooh Caching. I had memcached shutdown, no idea where things were 
being cached, as I hard refresh pages all the time.

thanks

On Friday, October 16, 2015 at 11:52:13 AM UTC, Nkansah Rexford wrote:
>
> I have this in default mezza urls
>     url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"),
>
> I have this in my app models
> class HomePage(Page):
>     '''
>     A page representing the format of the home page layout
>     '''
>     heading = models.CharField(max_length=200)
>     subheading = models.CharField(max_length=500,
>         help_text="The subheading just below the heading")
>     action_link = models.URLField()
>
>     class Meta:
>         verbose_name = _("Home page")
>         verbose_name_plural = _("Home pages")
>
> Homepage loads up fine, via admin and on slug, /
>
> I want to add out a mere text, say, "Just Testing" to HomePage context, 
> and have done this:
>
> @processor_for(HomePage)
> def show_my_string(request, page):
>     return {"item": "Just testing"}
>
>
> The {{ item }} isn't showing up when I access it on homepage page.
>
> I've done the above for Contact using example on mezzanine docs, but the 
> Homepage isn't working.
>
> Anything special to get it working for the homepage? 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.

Reply via email to