Hi Arisophy

I am interested in seeing composite PK's land in Django - I recently made a
composite PK table for a client with a hack to make it work on Django. I'm
sure others are interested too - I just guess at this point there is not so
much momentum on the topic since it's so long running with no solution.

Your approach seems to be fairly limited, so perhaps it's gotten easier
with recent ORM improvements. How well does your method work? Are there any
limitations with which queries are supported, migrations, etc.?

Thanks,

Adam

On Fri, 29 Jan 2021 at 14:31, Arisophy <ariso...@is-jpn.com> wrote:

> Hi, django developers.
>
> Is anyone still interested in ticket373?
>
> https://code.djangoproject.com/ticket/373
>
> I'm gradually migrating legacy systems built with Ruby On Rails to Django.
> So made an extended Model class that supports composite primary keys.
>
> https://github.com/Arisophy/django-compositepk-model
>
> It worked nicely with a small amount of code.
>
> FYI
>
> Arisophy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CA%2B2LtkDBof5M9aG-QjgeUTa9EbXRCtnNEOCqqt2aT%3DeexN4DGA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-developers/CA%2B2LtkDBof5M9aG-QjgeUTa9EbXRCtnNEOCqqt2aT%3DeexN4DGA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM2VAnD6tLwdO2oFLaqpxmUJ%3Dg_GJAa3RdstV0H3Lntrsg%40mail.gmail.com.
  • Ano... Arisophy
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to