On 30-Dec-06, at 11:32 PM, Ramdas S wrote:

If I create a class called bill_no and with an autofield and a date. How can I link the bill_no class to the bills so that I am able to generate unique bill numbers for each table.

foreign key

--

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to