when I am create a product in admin account ,if I upload the product image 
,there will be a bug ,donot why, using the default django pic ,same problem 
,all kinds of the image type I have tried to upload ,all come across the 
same problem 

error info:

invalid literal for int() with base 10: ''

traceback info :


   - 
/Users/luzou/Documents/djanproj/cartridge/src/cartridge/cartridge/shop/admin.py 
in save_formset
   1. 
      
                                                       self._images_formset, 
change)
      
      2. ...
   ▶ Local vars <http://127.0.0.1:8000/admin/shop/product/2/#>
   - 


   - 
   
/Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/core/models.py
 in save
   1. 
      
              super(Orderable, self).save(*args, **kwargs)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/admin/shop/product/2/#>
   

also when upload pic from the media library(which have been uploaded into 
already ) into gallery 
same error:

invalid literal for int() with base 10: ''



   - 
   
   
/Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/pages/admin.py
    in change_view
   1. 
      
              return super(PageAdmin, self).change_view(request, object_id, 
**kwargs)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
   



   - 
   
/Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/galleries/models.py
    in save
   1. 
      
              super(GalleryImage, self).save(*args, **kwargs)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
   - 
   
/Users/luzou/Documents/djanproj/cartridge/lib/python2.7/site-packages/Mezzanine-3.0.4-py2.7.egg/mezzanine/core/models.py
    in save
   1. 
      
              super(Orderable, self).save(*args, **kwargs)
      
      ...
   ▶ Local vars <http://127.0.0.1:8000/admin/galleries/gallery/8/#>
   - 
   

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

Reply via email to