vvangelovski / django-audit-log

Audit log for your Django models
Other
232 stars 94 forks source link

Audit log queryset with filter() #9

Closed eguevara2012 closed 10 years ago

eguevara2012 commented 12 years ago

Hi!

I have this query:

param = Display.audit_log.filter(campaign_id=object_id)

The query works, but in Eclipse Indigo show this error "Undefined variable from import: filter". I'm using it correctly, or is there something wrong in audit log?

Thanks!

vvangelovski commented 10 years ago

If the code works then what's the problem wrong :smile: . That's why you shouldn't rely on IDE's for Python too much. The audit_log model for each model is constructed at runtime that's probably the reason for the error.