admin problem

15 views
Skip to first unread message

Harjot Mann

unread,
Sep 16, 2012, 8:52:43 AM9/16/12
to django...@googlegroups.com
 hello everyone
 I have made a project in django on student dmc records
as there are many students whose data is to be added
i have made 2 classes in models named student_info and certificate and used a foreignkey in crtificate class as:
student_info = models.ForeignKey(Student_info)
and Roll Number is a primary key which is a field of student_inso class. But when i added data in admin under certificate as shown in fig.
At student info option, when i add data.....its giving student_info object......and it becomes difficult to know which students data is to be added now.....
I want to know is there any method by which i can use roll numbers instead of student_info object becoz its difficult to recognize if there will largw number of syudents.
pls help me as sson as possible.  i have a presentation on this project.
thnks in advance
Screenshot at 2012-09-16 18:04:16.png

Nevio Vesic

unread,
Sep 16, 2012, 8:55:09 AM9/16/12
to django...@googlegroups.com

Harjot Mann

unread,
Sep 16, 2012, 8:57:06 AM9/16/12
to django...@googlegroups.com
how an i use it??/


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0PWPaTAEcWYJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Harjot Mann

unread,
Sep 16, 2012, 9:12:50 AM9/16/12
to django...@googlegroups.com
done with it thnkuu sooo much
Reply all
Reply to author
Forward
0 new messages