Hey Josh, 

The prefix ('home') is working for all my page URLs and admin dashboard. 
However, I've found a couple errors (I think they are related)

   - When creating a new page, or editing a page, the "save" button doesn't 
   do anything - I can see it is throwing a 404 in the console. If I remove 
   the prefix, this works again... 
   POST http://127.0.0.1:8000/home/admin_keywords_submit/ 404 (NOT FOUND) 
   - The "password_reset" link on login page isn't working - if I remove 
   the prefix it works.

Any ideas?

I'm wondering if there is a problem with how my template files are 
structured maybe?

thanks,
Scott

On Friday, May 16, 2014 6:41:42 AM UTC-7, Josh Cartmell wrote:
>
> Hey Scott, I could be wrong, but I think you could do that by opening your 
> project's urls.py and just changing the url that the admin is registered 
> under.  Currently you should have something like:
> ("^admin/", include(admin.site.urls)),
>
>  You could change it to:
>
> ("^whatever-prefix/admin/", include(admin.site.urls)),
>
>
> On Thu, May 15, 2014 at 8:12 PM, Scott Diehl <[email protected]<javascript:>
> > wrote:
>
>> I have a question in regards to this topic as well.
>>
>> I need to move our website under a site prefix (long story) - I have 
>> defined the site prefix in settings.py and have made the necessary changes 
>> in urls.py as well. The pages of the site are all working under the prefix.
>>
>> However, is there a way to also move admin portion of mezzanine behind 
>> the prefix as well? Is it just a matter of moving things around in the 
>> template files?
>>
>> thanks,
>>
>> Scott
>>
>> On Thursday, February 14, 2013 5:53:33 PM UTC-8, Stephen McDonald wrote:
>>
>>> Should generally work.
>>>
>>> On Fri, Feb 15, 2013 at 12:06 PM, Eduardo Rivas <[email protected]>wrote:
>>>
>>>> Hello, I'm in need of deploying a Mezzanine site under a URL prefix, 
>>>> let's say example.com/somepage. The domain connects to a server 
>>>> already running Wordpress, and Mezzanine most only live in this subpage.
>>>>
>>>> I think the question goes beyond the scope of this group, but I'm 
>>>> hoping someone else has already done something like this:
>>>>
>>>>    - The domain is not owned by me, and I don't have control over it. 
>>>>    Is it possible for the managers of the other server to redirect 
>>>>    example.com/somepage to the Django instance in my server, 
>>>>    preserving the url? 
>>>>
>>>> They should be able to configure the web server to proxy to the django 
>>> app
>>>  
>>>
>>>>
>>>>    - Is Mezzanine ready to run this way? Is it as simple as defining 
>>>>    SITE_PREFIX?
>>>>
>>>>
>>> That's the intention.
>>>  
>>>
>>>> Thanks in advance!
>>>>
>>>> -- 
>>>> 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/groups/opt_out.
>>>>  
>>>>  
>>>>
>>>
>>>
>>>
>>> -- 
>>> 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