default (see active field) does not seem to propagate - see below
(Postgres 8.3.6 - current Django as of yesterday)
Any ideas?
TIA
Kai
class Client(models.Model):
login = models.CharField(max_length = 20, unique=True)
password = models.CharField(max_length = 10)
created = models.DateTimeField(auto_now_add=True)
expirydate = models.DateField()
active = models.BooleanField(default=True)
D:\django-development\testproject>python manage.py sqlall game
BEGIN;
CREATE TABLE "game_client" (
"id" serial NOT NULL PRIMARY KEY,
"login" varchar(20) NOT NULL UNIQUE,
"password" varchar(10) NOT NULL,
"created" timestamp with time zone NOT NULL,
"expirydate" date NOT NULL,
"active" boolean NOT NULL
)
;
COMMIT;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---