Thanks Ken.  I tried that, and got the same behavior.  Then after spending 
a little more time on stack overflow, it occurred to me that I might need 
to add a rule to my urls.py.  So now what I have is:

url("^admin/importer", "web.views.importer", name="importer"),

Then in my views.py I have:

def importer(request, slug, template=u"pages/page.html", extra_context=None
):


    return mezzanine.pages.views.page(request, "importer", template, 
extra_context)

So now, the "Other" admin section shows up, but the submenu item is just 
"None" instead of "importer".  And when I click on the link, I get "importer() 
takes at least 2 arguments (1 given)"

So that's progress!

On Tuesday, December 29, 2015 at 11:53:38 AM UTC-5, Kenneth Bolton wrote:
>
> Hi Joel,
>
> Assuming everything has been set up correctly, your projects' settings.py 
> should trump all except local_settings.py.
>
> Do you get the same results in a new virtualenv with a clean installation 
> of Mezzanine?
>
> -ken
>
> On Tue, Dec 29, 2015 at 11:34 AM, Joel Gwynn <[email protected] 
> <javascript:>> wrote:
>
>> OK, so I put in some print statements: one in the mezzanine core 
>> defaults.py right after the call to register_settings(), and the next one 
>> in my settings.py right after the code below.  It looks like settings.py is 
>> being executed before defaults.py, so my setting is getting overriden.  Is 
>> that how it's supposed to be happening?
>>
>> On Friday, December 25, 2015 at 10:47:26 AM UTC-5, Joel Gwynn wrote:
>>>
>>> I don't know how much more information I can add.  In my settings.py, I 
>>> uncommented the menu order and added a section like so:
>>>
>>> ADMIN_MENU_ORDER = (
>>>     ("Content", ("pages.Page", "blog.BlogPost",
>>>        "generic.ThreadedComment", (_("Media Library"), "fb_browse"),)),
>>>     ("Site", ("sites.Site", "redirects.Redirect", "conf.Setting")),
>>>     ("Users", ("auth.User", "auth.Group",)),
>>>     ("Other", ("web.views.importer",)),
>>> )
>>>
>>> But my "Other" heading simply doesn't show up.  I know the file is being 
>>> processed because if I add random text I get a syntax error.  It just has 
>>> no effect.
>>>
>>> Merry Christmas, btw :)
>>>
>>> On Friday, December 25, 2015 at 3:15:05 AM UTC-5, Stephen McDonald wrote:
>>>>
>>>> Works fine for me, you'll need to be more specific.
>>>>
>>>>
>>>> On Fri, Dec 25, 2015 at 5:16 AM, Joel Gwynn <[email protected]> wrote:
>>>>
>>>>> in my site settings.py, I uncommented out the ADMIN_MENU_ORDER section 
>>>>> and added a menu section, but it isn't doing anything.  Instead, it's 
>>>>> using 
>>>>> the one from mezzanine core defaults.py which I'd rather not mess with.  
>>>>> Did I miss a step?
>>>>>
>>>>> TIA,
>>>>> Joel
>>>>>
>>>>> -- 
>>>>> 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.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Stephen McDonald
>>>> http://jupo.org
>>>>
>>> -- 
>> 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] <javascript:>.
>> 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