Reset your database and test again.
2014-05-12 10:46 GMT+01:00 Erik Cederstrand <[email protected]>: > Den 12/05/2014 kl. 11.38 skrev hito koto <[email protected]>: > > > Ok, Thank you! > > > > So, this is my the full codes; > > Are you sure your database is in sync with your model? The error message > implies that the field is defined with unique=True, but your model doesn't > define it so: > > start_work = models.ForeignKey(Staff, verbose_name = "名前") > > > Erik > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/26954CFC-061C-4E77-80FD-EA462D2E1704%40cederstrand.dk > . > For more options, visit https://groups.google.com/d/optout. > -- Helton Alves Desenvolvedor web Graduado em Sistemas de Informação - FACIMP Cursando Metodologia do Ensino Superior - INESPO -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABcoSmB5wtm1V%3Da0_Z9jSYM88ibXwL2ywH4%3D5GhrytK-LUqT8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

