Honza Král wrote: > do you mean backward referencing?? > > http://www.djangoproject.com/documentation/db_api/#backward > that gets created for you > The API is really usefull!
> if not, could you clarify what does not work for you? what would you > like to do and don't know how? > But in the admin site, it is not possible create an object if it has a reference to another object that it has not been created. class Artist(models.Model): name = models.CharField( maxlength=200, unique=True, db_index=True ) genres = models.ManyToManyField( Genre ) albums = models.ForeignKey( 'Album' ) I can not create an Artist object without the existence of Genre and Album objects Is there any way of make it? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---