As Thomas said, it's a harmless banner. If it bothers you, here's a
management command that you can try instead of the standard runserver. Save
it as 'myrunserver' or something and pass in --nobanner.
from optparse import make_option
from mezzanine.core.management.commands import runserver
class Command(runserver.Command):
option_list = runserver.Command.option_list + (
make_option(
'--nobanner', dest='show_banner', action='store_false',
default=True, help="Don't show the banner",
),
)
help = "Custom runserver command"
def inner_run(self, *args, **kwargs):
if kwargs.get("show_banner"):
try:
self.stdout.write(runserver.banner())
except:
pass
super(runserver.Command, self).inner_run(*args, **kwargs)
On Thursday, October 9, 2014 5:08:28 PM UTC+1, roland balint wrote:
>
> may be it; i am using windows for this project and have not tested in mac
> yet...
> all good then,
> thank you
>
> On Thursday, October 9, 2014 11:17:39 AM UTC-4, Thomas wrote:
>>
>> Hs! That is a big red banner which says “Mezzanine” in the middle. Your
>> terminal is not recognizing the escape sequences. Not sure where it lives
>> in the code or how to disable it…
>>
>> hth
>>
>> - Tom
>>
>>
>> On Oct 9, 2014, at 8:05 AM, roland balint <[email protected]> wrote:
>>
>> i get a bunch of weird characters when using a fresh mezzanine install,
>> 3.1.10
>> they go away if i downgrade to mezzanine 3.1.9
>> they look like these;
>> ---
>> ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m
>> ←[0m←[41;37;1m ←[0m
>> ←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m
>> ←[0m←[41;
>> 37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m
>> ←[0m←[41;37;1m
>> ←[0m←[31m.←[0m←[31md←[0m←[31m'←[0m
>> ←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m
>> ←[0m←[31m`←[0m←[31mq←[0m←[31
>> m.←[0m←[31m.←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m
>> ←[0m←[41
>> ;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m ←[0m←[41;37;1m
>> ←[0m←[41;37;1
>> m ←[0m←[31m.←[0m←[31m.←[0m←[31mp←[0m←[31m'←[0m
>> ←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m
>> ←[0m←[m ←[0m
>>
>> ←[31m^←[0m←[31mq←[0m←[31m.←[0m←[31m.←[0m←[31m.←[0m←[31m.←[0m←[31m.←[0m←[31m.←[0m
>> ←[31m.←[0m←[31m.←[0m←[31mp←[0m←[31m^←[0m
>> ←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[m
>> ←[0m←[m ←[0m
>> ←[m ←[0m←[m ←[0m←[m ←[0m←[m ←[0m←[31m'←[0m←[31m'←[0m←[31m'←[0m←[31m'←[0m
>>
>> Validating models...
>>
>> 0 errors found
>> October 09, 2014 - 11:00:09
>> Django version 1.6.7, using settings 'test.settings'
>> ---
>>
>> rb
>>
>>
>> --
>> 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.
>>
>>
>> Please consider the environment before printing this message.
>> *This message may be privileged and/or confidential, and the sender does
>> not waive any related rights and obligations. Any distribution, use or
>> copying of this message or the information it contains by other than an
>> intended recipient is unauthorized. If you received this message in error,
>> please immediately advise me by return e-mail or phone. All information,
>> references, images, programs, source code, or other materials whatsoever
>> contained in, or supplied with, this document are TRADE SECRETS and
>> governed by the Uniform Trade Secrets Act. User assumes all direct and
>> consequential liabilities and costs that result from any unauthorized
>> disclosure or use of this information.*
>>
>>
--
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.