Comments (7)
I can't tell what's going on from that snippet. You're filtering on number
- is that defined in TimestampMixin
, or was that just a typo, did you mean from_number
?
from django-pgcrypto.
Sorry, yeah, it's from_number.
from django-pgcrypto.
Any updates on this one? We haven't started using pgcrypto because of this error.
from django-pgcrypto.
I can't reproduce this. The unit tests (which use Django 1.7, and pass on Python 2 and 3) already include an exact lookup on an EncryptedCharField:
https://github.com/dcwatson/django-pgcrypto/blob/master/tests/core/tests.py#L61
Do you think you could put together a failing test case?
from django-pgcrypto.
I will see if I can come up with something. Thank you
On Thu, Mar 5, 2015 at 1:26 PM, Dan Watson [email protected] wrote:
I can't reproduce this. The unit tests (which use Django 1.7, and pass on
Python 2 and 3) already include an exact lookup on an EncryptedCharField:https://github.com/dcwatson/django-pgcrypto/blob/master/tests/core/tests.py#L61
Do you think you could put together a failing test case?
—
Reply to this email directly or view it on GitHub
#12 (comment)
.
from django-pgcrypto.
Re-open with a test case if you can reproduce.
from django-pgcrypto.
In my case, I am getting this issue when the field has empty values than the filter not working for that field, and getting this issue, I was filtering an EncryptedCharField with 700 rows and one-row was with an empty string.
from django-pgcrypto.
Related Issues (20)
- ValueError: level must be >= 0 HOT 1
- Django 1.7 makemigrations fails: AttributeError: 'bytes' object has no attribute 'encode'
- unique=True and null=True HOT 5
- Deconstruct includes the key - this results in a new migration when the key is changed HOT 1
- Lookup on EncryptedCharField in shell fails on postgresql
- AES issues on Python 3 HOT 2
- Release pgcrypto 1.3 on pypi? HOT 1
- Django 1.10 compatability HOT 4
- Different cipher key depending of request HOT 2
- ..
- Empty Encrypted Fields Cause Errors HOT 1
- Update for Django (and Python) 3, drop PyCrypto HOT 4
- error message: function dearmor(text) does not exist\nLINE 1: ..._on\" FROM \"users_user\" WHERE convert_from(decrypt(dearmor(\"u HOT 2
- what does the parameter versioned=True changes? HOT 1
- django.db.utils.InternalError: Corrupt ascii-armor Error On lookup field
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1: invalid start byte HOT 6
- Empty string in DB crashes the lib
- Blowfish has been deprecated.
- __in filtering broken? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-pgcrypto.