Hi All,

I couldn't find this in the documentation or with a search, so I feel like 
I am missing something simple.

Can you subclass a gallery or do you need to use field injection?

I am wondering if something like this is possible:

models.py
-------------------
from mezzanine.galleries.models import Gallery

class sampleContentType(Gallery):
  extraFieldName = models.BooleanField(verbose_name="This field is just an 
example and could be anything")

admin.py
--------------------
from mezzanine.galleries.admin import GalleryAdmin

admin.site.register(sampleContentType, GalleryAdmin)

When I tried something like this, I got an "Key u'gallery_ptr' not found in 
Form" error message.
  
Thanks!

Evan

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