Am 15.08.2012 um 01:49 schrieb Russell Keith-Magee: > This SQL "Standard" of which you speak… do you know of anyone that > implements it? :-) Yes. Look here: http://www.postgresql.org/docs/9.1/static/features.html At a minimum, I expect such a conformance list from a vendor. > > Python code. Python doesn't have a concept of an enumerated type, so > there hasn't been a whole lot of effort focussed on that feature. I will try the enumField from Jonathan S. Katz: https://github.com/jkatz/django_postgres_extensions >> but the real stopper was that dj does not support NULL on TEXT columns. > > Incorrect. At a model level, you can certainly store NULL in a > TextField column (or any other char-like column for that matter). Good to know.
> This could be addressed at the form level, but it will involve a > little bit of tinkering (specifically, overriding the to_python method > on django.forms.CharField). However, once you've written a CharField > that treats blanks the way you want, you just need to remember to use > your own form library rather than Django's defaults. Ah, that the pointer, I looked for. > > So - the fact that you have a database with a bunch of pre-existing > expectations is going to cause you some difficulties, but they > shouldn't be impossible to overcome. You are, however, going to be > spending some quality time overriding defaults, and getting to know > Django's internals pretty well. :-) I will try and with the help of this list hopefully finally succeed. (-; Thanks, Axel --- PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius -- 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.