I have table A with my following fields:
1. id (PK)
2. fname (text)
3. name (text)
4. A_id (integer)

I have problem with 4th field, Because it has to refrenced to id
field. I can't implement it into Django.

How can I write model class for above table in models.py ?

--mohsen

-- 
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/CAJFFGZKZLQDNMA%2BzSUFKvUX8c0eMe%2B7do73cV1RyZTO1q-A3gg%40mail.gmail.com.

Reply via email to