Hey all,

I'm interested in getting database migrations to support setting 
database-level default values. I've heard talk of this being a hotly 
contested issue in the past, but I haven't been able to find the actual 
conversations, so far this 
<https://groups.google.com/forum/#!searchin/django-developers/database$20defaults/django-developers/fHjzttZTkzc/oXbrpBa0dHAJ>
 
is the best thread I've found and I've already asked about it in 
django-users 
<https://groups.google.com/forum/#!topic/django-users/_N2mtxFTFjI>.

Instead of just asking for this feature, I've gone ahead and created a new 
db backend that is almost exactly 
the `django.db.backends.postgresql_psycopg2` module, but with two key code 
blocks removed (that appear to be the logic to remove default values from 
the database).

Here's the repo: https://github.com/ringly/django-postgres-dbdefaults

and here it is in pypi: 
https://pypi.python.org/pypi/django-postgres-dbdefaults/0.0.1

I'd love to hear feedback/thoughts/concerns.

-Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5bf3f984-30fb-4adf-a992-616cbdedd864%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to