On Saturday, September 12, 2015 at 2:23:15 PM UTC-4, Carl Meyer wrote: > > Hi Dan, > > ... <snip>...
Yes, this is possible, and not even that hard (at least in Django 1.8, > where Field classes gained more control over SQL generation; I suspect > it would be quite a bit more difficult if you need to support older > versions). It does require exploiting some undocumented internal APIs. > For an example, you can look at my django-pgcrypto-expressions project, > which does the same thing for Postgres' built-in symmetric encryption > functions: https://github.com/orcasgit/django-pgcrypto-expressions I've looked at your github project and the code for Django 1.8 fields and written some code. I'm wondering how I would get python to run an interactive shell similar to what I'd get from running ./manage.py shell. I tend to test/debug that way before I run py.test or nose... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b53a8acf-ab62-400b-a641-77333c0f0785%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.