Can you provide a small example of the code? This section may also answer
your question:

https://docs.djangoproject.com/en/1.7/topics/db/models/#multiple-inheritance

- James
On Dec 11, 2014 2:01 AM, "Torsten Bronger" <bron...@physik.rwth-aachen.de>
wrote:

> Hallöchen!
>
> Is it correct that when using multi-table inheritance, I must not
> set an explicit primary key in the derived model class?  Currently,
> I get
>
>   ...
>   File
> "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line
> 65, in execute
>     return self.cursor.execute(sql, params)
> django.db.utils.ProgrammingError: column "process_ptr_id" of relation
> "samples_deposition" already exists
>
> while applying the initial migration and wonder whether that what I
> try to achive is possible at all.
>
> ("samples" is the app name, "deposition" is the model name of the
> derived model.)
>
> Tschö,
> Torsten.
>
> --
> Torsten Bronger    Jabber ID: torsten.bron...@jabber.rwth-aachen.de
>                                   or http://bronger-jmp.appspot.com
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> 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/87sigmfqxl.fsf%40physik.rwth-aachen.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/CA%2Be%2BciV7Rrm1M27mu12r7GF-816vL3frc83Yuqu0vuVXB_BWkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to