Re: Django and uuid with PostgreSQL

2016-10-18 Thread Andrea Posi
omplish it Il giorno mercoledì 19 ottobre 2016 02:14:23 UTC+2, Tim Graham ha scritto: > > The SQL looks correct -- it's not using anything Python related. Are you > encountering some error? > > On Tuesday, October 18, 2016 at 9:15:46 AM UTC-4, Andrea Posi wrote: >> >>

Django and uuid with PostgreSQL

2016-10-18 Thread Andrea Posi
I'm creating a rest api using Django and DRF. I don't want to expose IDs directly to clients so I'm trying to setup my models like this example: class AbstractGuidModel(models.Model): uuid = models.UUIDField(blank=True, default=uuid.uuid4, unique=True, editable=False) class Meta:

ORM vs SQL vs HBase

2008-09-06 Thread Posi
Still though, how tied are we to a true relational model and how does that tie to a column based DB. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Django on non relational DBs

2008-09-05 Thread Posi
Now that 1.0 was released, how hard or desirable would it be to consider column based DBs like HBase, hypertable, etc for Django backends? Currently the model behavior seems tightly coupled to traditional DB models, is this really what we want? --~--~-~--~~~---~--~---