Hi.

Django doesn't support composite keys.


pe 4. lokak. 2019 klo 14.47 narendra thapa <narendrathapa...@gmail.com>
kirjoitti:

> as i was trying to make a composite key on students model . i wanna make
> composite key of field enrolled year and roll no but django is not
> accepting a two primary key in same model
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ae2576ec-e3ae-4ec6-bbf0-e93e1965378e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ae2576ec-e3ae-4ec6-bbf0-e93e1965378e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91odh9%2BsyA9fBGMYWbR0rFFp0cUOjo5u2TkvuWePqJje1AA%40mail.gmail.com.

Reply via email to