Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__init__() got an unexpected keyword argument 'image_field' #11

Open
Darex1991 opened this issue Apr 8, 2014 · 1 comment
Open

__init__() got an unexpected keyword argument 'image_field' #11

Darex1991 opened this issue Apr 8, 2014 · 1 comment

Comments

@Darex1991
Copy link

Hi, what i do wrong.. ? I do everything from readme and I have error..
Its propably no find image_field (image_field='image' - 29 line from imaging/models)..

Settings:
'PIL',
'pilkit',
'imagekit',
'imaging'

models:
class PublishedSomemodelManager(models.Manager):
def get_query_set(self):
return super(PublishedSomemodelManager, self).get_query_set().filter()

class Somemodel(models.Model):
photos = ImagingField()
published_some = PublishedSomemodelManager()

url:
(r'^imaging/', include('imaging.urls')),

admin:
class SomemodelAdmin(admin.ModelAdmin):
list_display = ('id',)
admin.site.register(Somemodel, SomemodelAdmin)

Please help me..

@priestc
Copy link

priestc commented Apr 29, 2014

django-imagekit has been updated and the image_field kwarg has been renamed to source, its a bug in django-imaging and needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants