Re: Model user with pk 1L does not exist at Admin

2013-01-28 Thread Bill Freeman
What python version are you using, and with what django version. Also, please show an example of what code you are using/typing to update/add a group. On Sun, Jan 27, 2013 at 10:40 PM, Edwin Lunando wrote: > Here is my model: > > class UserSIMS(models.Model): >

Model user with pk 1L does not exist at Admin

2013-01-27 Thread Edwin Lunando
Here is my model: class UserSIMS(models.Model): TATA_USAHA = 0 DOSEN = 1 MAHASISWA = 2 TYPE_CHOICES = ((TATA_USAHA, 'Tata Usaha'), (DOSEN, 'Dosen'), (MAHASISWA, 'Mahasiswa')) user = models.OneToOneField(User) type = models.IntegerField(choices=TYPE_CHOICES) # 0 = TU 1 =