Hallo,

I have a model in which have use of ForeignKey to relate them.

class Dataset(models.Model):
  ....
  contactID = models.ForeignKey(Contactinfo, db_column="contactID")
  ....
  class Admin:
        list_display = ('datasetName', 'datasetVersion',

I use the  "Admin" class to administrate them also. We get some
selection fields to choose one of the related elements. One of the
choice elements is only this : " - - - - ".  It is produced
atomatically and I don't want to have this element in selection
fileds. Which option in "ForeignKey" do I have to use to skip " - - -
-"?

Regards,
Nader
--~--~---------~--~----~------------~-------~--~----~
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