Dear All,
I have a simple question, but can' find the answer in the docs.
I have two classes, a & b, in my model.py file, related via a OneToOne.
When I create an a, I would like to display its UID in the admin interface.
I've tried adding
idNumber = model.AutoField(primary_key=true)
and
Dear All,
I'm a newbie with Django, and have what is probably a very simple question.
I'm trying to get the values from an html drop-down form.
I've got a form like this:
A
B
C
D
E
with a method in views.py:
ansQuestion(request):
q = get_object_or_404(Question)
answer = requ
2 matches
Mail list logo