On Jun 23, 8:39 am, daniel <labonte.dan...@gmail.com> wrote:
> Good morning,
>
> I have a MySQL (version 5.0.5 running on Ubuntu 8.04) database
> containing encrypted fields (the encryption was done using mysql's
> AES_ENCRYPT). The database is normally accessed by an application
> written in C++ and Qt. However, I also need to access the database
> thru a web server and I am getting started with django  (1.0).
>
[snip]
> Any suggestions on how I can mix the encryption/decryption of values
> using these two applications?
> Or is it possible for django to use MySQL functions such as
> AES_ENCRYPT/AES_DECRYPT in a query?
>

I don't know about the first part of your question, but you can use
raw SQL in Django:

http://docs.djangoproject.com/en/dev/topics/db/sql/#topics-db-sql

Best,
BN
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to