Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Untitled #7

Closed
wants to merge 1 commit into from

3 participants

@digital-eskimo

Django 1.3 still gives annoying errors for the get_db_prep_value method until you add the extra arguments, like for get_db_prep_lookup. Should be backwards compatible because they have default values, and aren't propagated to the super class.

@gintas
Collaborator

Hi, digital-eskimo.

Shrubbery Software is long time defunct, so the latest branch is actually on my personal account, gintas/django-picklefield. You will find your changes already incorporated there.

Perhaps I should delete this repository to reduce the confusion.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/picklefield/fields.py
View
2  src/picklefield/fields.py
@@ -108,7 +108,7 @@ def to_python(self, value):
raise
return value
- def get_db_prep_value(self, value):
+ def get_db_prep_value(self, value, connection=None, prepared=False):
"""
Pickle and b64encode the object, optionally compressing it.
Something went wrong with that request. Please try again.