[mezzanine-users] Use django models.ImageField instead of FileField from Mezzanine

2015-11-07 Thread Nkansah Rexford
Hi, I'm still learning my way through mezzanine.

when I replace this:
image = FileField(verbose_name=_("Image"),
  upload_to=upload_to("main.HomePage.image", "image"),
  format="Image", 
  max_length=255)


with 
image = models.ImageField(upload_to='myimages')

it doesn't show up in the specific page the ImageField is used when in the 
admin of mezzanine.

Anything I'm missing? I'm dropping down to the ImageField of Django 
considering how inconsistent the filebrowser thing in Mezza is, at least to 
my liking.

-- 
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] Media Library error on production server

2015-11-07 Thread Melvin Ramos
Hello fellas,

In my production server (Linode) I was trying to upload an image and the 
popup throws me the following errors:

Failed to load resource: the server responded with a status of 500 
(INTERNAL SERVER ERROR)
http://iucnrle.org/en/admin/media-library/browse/?pop=5=image

GET http://iucnrle.org/en/admin/media-library/browse/?pop=5=image 500 
(INTERNAL SERVER ERROR)
tinymce.min.js:9

and when I check the Media Library link it goes to an error page and throws 
this error:

Failed to load resource: the server responded with a status of 500 
(INTERNAL SERVER ERROR)
http://iucnrle.org/en/admin/media-library/browse/

No error shown in the Apache log.

This doesn't happen in my localhost dev server. Any possible solutions?

Thanks in advance,

MR

-- 
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] Code error in cartridge.shop.checkout.initial_order_data

2015-11-07 Thread christian . kuper1
Hello There,

as I am just starting to get familiar with Mezzanine and Cartridge I feel a 
little reluctant to file an issue right away. However, I believe there is a 
code error in checkout.py of cartridge, line 133. 

The current code:


133: for order_field in OrderForm._meta.fields:

The result is that initial_order_data() will only try to pre-fill fields 
contained in the default OrderForm and no additional fields used in 
customized order forms.

IMHO the line should say:

133: for order_field in form_class._meta.fields:


Or did I overlook something here?

Chris


-- 
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] Creating user to user relationships

2015-11-07 Thread A.B.
I know a bit a about Django so should get up to speed with this quickly, 
but would like to know Mezzanine best practices how to go about it. 

I have two groups of users: Agents and Customers, apart from Admins. They 
all should have their public profiles. Agents can 
add/delete/edit/deactivate new Customers and their profiles. Customers can 
see their agent only, and can edit only their own profile. 

Their should be a page in admin, where Admin can monitor these 
relationships, where Agents can manage Customers, and where Customers can 
manage their own profile. 


Simple :)

Thanks


Alen





-- 
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] Code error in cartridge.shop.checkout.initial_order_data

2015-11-07 Thread Stephen McDonald
Sounds right, please go ahead and create a PR.

Thanks!

On Sun, Nov 8, 2015 at 5:40 AM,  wrote:

> Hello There,
>
> as I am just starting to get familiar with Mezzanine and Cartridge I feel
> a little reluctant to file an issue right away. However, I believe there is
> a code error in checkout.py of cartridge, line 133.
>
> The current code:
>
>
> 133: for order_field in OrderForm._meta.fields:
>
> The result is that initial_order_data() will only try to pre-fill fields
> contained in the default OrderForm and no additional fields used in
> customized order forms.
>
> IMHO the line should say:
>
> 133: for order_field in form_class._meta.fields:
>
>
> Or did I overlook something here?
>
> Chris
>
>
> --
> 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] Do djanog-oscar and django-oscar-stores integrate with Mezzanine?

2015-11-07 Thread Edward Henderson
Have Django Oscar been used successfully with Mezzanine?

I'm particularly interested in django-oscar-stores.


-- 
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] Media Library giving error 500 on production server

2015-11-07 Thread Melvin Ramos
Hello fellas,

In my production server (Linode) I was trying to upload an image and the 
popup throws me the following errors:

Failed to load resource: the server responded with a status of 500 
(INTERNAL SERVER ERROR)
http://iucnrle.org/en/admin/media-library/browse/?pop=5=image

GET http://iucnrle.org/en/admin/media-library/browse/?pop=5=image 500 
(INTERNAL SERVER ERROR)
tinymce.min.js:9

and when I check the Media Library link it goes to an error page and throws 
this error:

Failed to load resource: the server responded with a status of 500 
(INTERNAL SERVER ERROR)
http://iucnrle.org/en/admin/media-library/browse/

No error shown in the Apache log.

This doesn't happen in my localhost dev server. Any possible solutions?

Thanks in advance,

MR

P.D.: Unrelated question: which version of TinyMCE is used by Mezzanine 4?

-- 
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] Is USE_SOUTH still default = True

2015-11-07 Thread Edward Henderson
The documentation says USE_SOUTH Default:True. Is that still the case? 

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