Hi Joel,

The calendar metaphor does not fit well into the Page model that ships with
Mezzanine. Have you explored the Book and Author example in the Mezzanine
documentation? It may provide some insight on how to approach this problem
The Mezzanine Way.

-ken

On Tue, Dec 15, 2015 at 10:24 AM, Joel Gwynn <[email protected]> wrote:

> Upon closer inspection, the 404 is:
>
> Request Method:GETRequest URL:http://localhost:8000/calendar/MARaised by:
> mezzanine.pages.views.page
> So it seems that maybe the url rule is being called, but views.py isn't
> able to find the page.
>
> On Tuesday, December 15, 2015 at 10:12:22 AM UTC-5, Joel Gwynn wrote:
>
>> Sorry about that.
>>
>> The calendar is a page that I created through the admin interface, and
>> the page processor looks like this:
>>
>> @processor_for("calendar")
>> def location(request, page):
>>
>>
>>
>>
>>
>> On Tuesday, December 15, 2015 at 9:53:24 AM UTC-5, Kenneth Bolton wrote:
>>>
>>> Hi Joel,
>>>
>>> What does your page processor code look like? My instinct is that a
>>> calendar is not a page and should probably not use the page view.
>>>
>>> Please accept every attempt at communication on this forum in good faith
>>> and, in the future, hold the sarcasm.
>>>
>>> ken
>>>
>>> On Tue, Dec 15, 2015 at 8:43 AM, Joel Gwynn <[email protected]> wrote:
>>>
>>>> Thanks for the purple link, Mr. Rexford.  I have spent quite some time
>>>> on that page, and it seems like my rule should work, but alas, here we are.
>>>>
>>>>
>>>> On Tuesday, December 15, 2015 at 2:22:53 AM UTC-5, Nkansah Rexford
>>>> wrote:
>>>>>
>>>>> Learn more about the URL dispatcher
>>>>> https://docs.djangoproject.com/en/1.9/topics/http/urls/
>>>>
>>>> --
>>>> 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.

Reply via email to