Re: [mezzanine-users] example.com!

2017-08-24 Thread Iain Mac Donald
On Thu, 24 Aug 2017 15:55:27 -0700 (PDT)
Simon Bradley  wrote:

> Now when i press it, it replaces localhost with example.com!

You probably haven't configured your domain in the Sites section. You
will need to enter it as:
127.0.0.1:8000
while using the built-in server.

-- 

Regards,
Iain.

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] example.com!

2017-08-24 Thread Stephen McDonald
It uses the domain defined in the record for the current site which you can
view and update at: http://127.0.0.1:8000/en/admin/sites/site/

It gets set to 127.0.0.1:8000 for the development site if you follow
Mezzanine's installation instructions to the tee, but if you deviate from
that which presumably you've done, Django defaults it to example.com

On Fri, Aug 25, 2017 at 8:55 AM, Simon Bradley 
wrote:

> Hi
>
> The View on Site button has started doing something quite unusual.
>
> Now when i press it, it replaces localhost with example.com!
>
> I'm starting to doubt myself here. Did it always do that? I don't think it
> did.
>
> So when i hover over the button i can see the link at the bottom.
> Something like: http://127.0.0.1:8000/en/admin/r/16/9/
>
> An then when i press the button it takes me to example.com/ and
> everything after that slash is as it should be!
>
> Any ideas? Mind = boggled.
>
> Cheers.
>
> --
> 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 mezzanine-users+unsubscr...@googlegroups.com.
> 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] example.com!

2017-08-24 Thread Simon Bradley
Hi

The View on Site button has started doing something quite unusual.

Now when i press it, it replaces localhost with example.com!

I'm starting to doubt myself here. Did it always do that? I don't think it 
did.

So when i hover over the button i can see the link at the bottom. Something 
like: http://127.0.0.1:8000/en/admin/r/16/9/

An then when i press the button it takes me to example.com/ and everything 
after that slash is as it should be!

Any ideas? Mind = boggled.

Cheers.

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.