Re: mysql tables - primary key
On Tue, Mar 13, 2012 at 9:51 AM, siva <85siva@gmail.com> wrote:
> We are going to convert our tools to django frame work
>
> We have been converted our existing mysql database table to model.py
> but we cant access one table properties
>
> FYI : table is not having primary id what we have to do - remaining
> tables are worked fine
>
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
I'm not sure I understand exactly what you are saying. You have a
legacy table with no primary key?
Did you create your django models with manage.py inspectdb?
--
Joel Goldstick
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home