-
Notifications
You must be signed in to change notification settings - Fork 129
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
operator does not exist: text = uuid #214
Comments
What database are you using?
…On Sun, 20 Aug 2017 at 20:36, day009 ***@***.***> wrote:
Hi!
It works great except using filter:
class ItemConfig(AppConfig):
name = 'item'
def ready(self):
Item = self.get_model("Item")
watson.register(Item.objects.filter(is_published=True))
class Item(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
item_nr = models.IntegerField(unique=True,)
...
Exception is:
operator does not exist: text = uuid
LINE 1: ...= 'default' AND ("watson_searchentry"."object_id" IN (SELECT...
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts. ) was the direct cause of the following
exception:
Sorry if it is trivial issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#214>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJFCEHt_OUg_gBUqj5y7uazWXPFJvh4ks5saIqwgaJpZM4O8tQA>
.
|
It is Postgresql 9.5 |
Can I have the full traceback of your exception?
…On 21 August 2017 at 12:44, day009 ***@***.***> wrote:
It is Postgresql 9.5
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJFCEMofT5dbUov1iR2s7qpOGOgpBBaks5saW2KgaJpZM4O8tQA>
.
|
Please inform if I should put here request/settings/other info also.
|
Thanks for the detailed info! I've just pushed a fix to master that may solve your issue. Please let me know. |
Works like a charm! |
Just released 1.4.1!
…On 22 August 2017 at 14:07, day009 ***@***.***> wrote:
Closed #214 <#214>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJFCCt4xrHJuwySe8J3TAIoEp0UBzo6ks5satKOgaJpZM4O8tQA>
.
|
Hi!
It works great except using filter:
Exception is:
Sorry if it is trivial issue.
The text was updated successfully, but these errors were encountered: