Hello,
I want to move a mezzanine server from to another box. I'd like to do that
with the minimum downtime if possible. The current server setup wasn't from
me but seems like it's a standard mezzanine setup described in docs. What's
the best approach?
Also since I'm new to mezzanine, what do
Sounds like you're hitting a PIL/Pillow issue there - google for more info
on getting it set up correctly on whatever system you're running, it's not
really a Mezzanine specific issue.
On Wed, Jan 22, 2014 at 7:11 PM, lu zou zoulucl...@gmail.com wrote:
also when I use safari browser upload the
On Wed, Jan 22, 2014 at 7:44 PM, inglor artafi...@gmail.com wrote:
Hello,
I want to move a mezzanine server from to another box. I'd like to do that
with the minimum downtime if possible. The current server setup wasn't from
me but seems like it's a standard mezzanine setup described in
My pip freeze:
Cartridge==0.9.2
Django==1.6.1
Mezzanine==3.0.6
Pillow==2.3.0
South==0.8.4
bleach==1.4
cartridge-payments==0.97.0
filebrowser-safe==0.3.1
future==0.9.0
grappelli-safe==0.3.4
html5lib==0.999
oauthlib==0.6.1
pisa==3.0.33
pytz==2013.9
requests==2.2.0
requests-oauthlib==0.4.0
Hi All, please forgive my ignorance.
Just wondering if this behavior is correct.
I have just done a findstatic on css/mezzanine.css and it shows
mezzanine.css from dist-packages serving before the projects static content.
Found 'css/mezzanine.css' here:
error occur when click the APPLY button to apply the discount code when
purchasing the product , having set the discount code correctly in admin
account
error info:
django.utils.functional.__proxy__ object at 0x1033c4590 is not JSON
serializable
traceback info:
-
I also tried to quickly reproduce it, without any luck - it looks like it
may be when the discount code is put into the session, but without the full
traceback no one knows.
I also can't stress the importance of providing a detailed description of
the steps you've taken to cause the error. Please
how to add more product category in cartridge, the default one is shop ,I
need to add more category ,for example ,some product is hot sale ,and some
product is previous product which is out of sale but popular ,different
category will display on the different places of the web page
--
You
BTW ,cartridge can only decode PNG pic ? JPEG pic canot be decoded and
uploaded ,is it right?
On Wednesday, 22 January 2014 18:58:21 UTC+10, Stephen McDonald wrote:
Sounds like you're hitting a PIL/Pillow issue there - google for more info
on getting it set up correctly on whatever system
make it more specifically . in shop/templates/pages/category.html the page
simply list all the products on the page SHOP (which is the main page of
products listing)
the code as below:
div class=row product-list
{% for product in products.object_list %}
div class=col-xs-6 col-sm-4 col-lg-3
Nope. The problem seems it is not related with cartridge.PIL or Pıllow may
cause this.What is your platform and pip freeze output?
2014/1/22 lu zou zoulucl...@gmail.com
BTW ,cartridge can only decode PNG pic ? JPEG pic canot be decoded and
uploaded ,is it right?
On Wednesday, 22 January
Why don't u try workarounds? For example Create a new page type for out of
order products ond only show them in it or u may define page with what u
want. You may also define your common attributes for order objects by
monkeypatch or mezzanine way model patch and filter with them for this. Or
maybe
the main goal is to display three kinds of products in one page ,let 's say
on the left which is hot sale ones , in the middle is the available ones
,one the right is the ones that not available for sell but used be popular
:) ,I am thinking about how to add the three kinds of products both in
So u must use your custom page type.
U may start from here :
http://mezzanine.jupo.org/docs/content-architecture.html
Read carefully. Your solution is in there (:
2014/1/22 邹璐 zoulucl...@gmail.com
the main goal is to display three kinds of products in one page ,let 's
say on the left which
I've only run into this on OSX while in a dev environment. See if this
works:
Using brew: http://brew.sh/
-
brew install jpeg
-
brew install libjpeg
-
sudo pip install Pillow
On Wednesday, January 22, 2014 2:56:36 AM UTC-5, lu zou wrote:
could you go
Themes tree of mez project:
├── lzone_theme_app
│ ├── __init__.py
│ ├── __init__.pyc
│ ├── static
│ │ ├── css
│ │ │ ├── bootstrap.css
│ │ │ ├── bootswatch.less
│ │ │ ├── custom.less
│ │ │ └── variables.less
│ │ ├── img
│ │ │ ├── favicon.ico
│
Thanks Josh - fixed here:
https://github.com/stephenmcd/mezzanine/commit/9f8a125bdb74f24664d9939ca63fa2876cebbd9c
On Thu, Jan 23, 2014 at 6:37 AM, Josh Cartmell joshcar...@gmail.com wrote:
Ok, I dug into this more and the IP that is trying to be saved is coming
from
Stephen says it works for him, I wish there was a working example project
we can get our hands on!
--
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
to be importable the name has to be valid i.e. no periods and the
__init__.py file is required. Is there anything else I should check?
--
You received this message because you are subscribed to the Google Groups
Mezzanine Users group.
To unsubscribe from this group and stop receiving emails
I'd suggest checking the debugging instructions I provided on the github
issue and following through with those.
On Thu, Jan 23, 2014 at 7:31 AM, Radomir Wojcik radzh...@gmail.com wrote:
to be importable the name has to be valid i.e. no periods and the
__init__.py file is required. Is there
Radomir, the code searches through HOST_THEMES and returns on the first match,
so you must be hitting it with a host of 127.0.0.1?
I put print statements in the code the other day and could get it to match on
the second entry. I was testing with a production test case, so I had real
domains to
I am hitting with both 127.0.0.1 and localhost, the page content changes
correctly but not the theme.
I will try the debug instructions next.
I think HOST_THEMES should do what you want but since I haven't ever got it
working I will stay out of the discussion until I fix it. I can try
Is there any way someone could create a quick example project with this
working using localhost and 127.0.0.1 ? As simple as just changing the tag
line in base.html for each theme would suffice.
--
You received this message because you are subscribed to the Google Groups
Mezzanine Users
Hey there, thanks for the response.
On Thursday, 23 January 2014 05:27:15 UTC+13, Won Young Lee wrote:
Hi Darin,
I had the same experience.
The problem seems to be because mezzanine doesn't look up the folder where
your static files are collected.
I don't think my solution is
Thanks Steve!
On Wed, Jan 22, 2014 at 12:22 PM, Stephen McDonald st...@jupo.org wrote:
Thanks Josh - fixed here:
https://github.com/stephenmcd/mezzanine/commit/9f8a125bdb74f24664d9939ca63fa2876cebbd9c
On Thu, Jan 23, 2014 at 6:37 AM, Josh Cartmell joshcar...@gmail.comwrote:
Ok, I dug
I'm not using index.html though, I can get rid of that file I just want to
get base.html going, that one doesn't extend anything.
Couldn't find the template loader, is this it:
https://github.com/pconerly/pc/blob/master/mezzanine/template/loader.py
?
--
You received this message because
very helpful! thanks:)
2014/1/23 Mehmet Özgür Bayhan mozgurbay...@gmail.com
So u must use your custom page type.
U may start from here :
http://mezzanine.jupo.org/docs/content-architecture.html
Read carefully. Your solution is in there (:
2014/1/22 邹璐 zoulucl...@gmail.com
the main
The TemplateForHostMiddleware is there in my settings but when debugging I
added some print statements to see if it is hit and it doesn't look like it
is using my configuration..
I can create a compact example on bitbucket and share it, hopefully you
guys can help me fix it and it can be used
Hi, been a while since I upgraded mezzanine.
While changing settings.py, I noticed the FILE_UPLOAD_PERMISSIONS = 0o644
instead of 0644.
Am I mistaken or is this a typo.
Just a quick check. Trying to be helpful.
-Nate
--
You received this message because you are subscribed to the Google
The value is octal which requires the o in Python 3:
$ python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type help, copyright, credits or license for more information.
0644
420
0o644
420
$ python3
Python 3.3.2
You can see the code that I worked on for the template loader at:
https://bitbucket.org/stephenmcd/mezzanine/pull-request/35/site_theme-loader
Take another read through that thread I posted, the only way you will get
base.html to work with the HOST_THEMES is if you directly render base.html
from
Thanks Josh! It looks interesting, I will try it out tomorrow :)
--
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
No problem, you don't need to use the particular fork of Mezzanine either,
it should be easy enough to pull the loader out and add it to your own.
On Wed, Jan 22, 2014 at 7:08 PM, Radomir Wojcik radzh...@gmail.com wrote:
Thanks Josh! It looks interesting, I will try it out tomorrow :)
--
33 matches
Mail list logo