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]> 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].
> 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.