Opened 18 years ago

Closed 18 years ago

#1401 closed defect (invalid)

Windows XP 2nd Ed. Firefox 1.5 Admin Console - Values added do not show for Change, etc.

Reported by: intelligentdesign@… Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have been working through the tutorials and the values that are added for the Admin tutorial do not display again as items in either the Change or as a foreign key in the drop down. I can use a tool to view the sqlite database and there are rows with values but nothing displays. Below is the script that controls my exercise.

from django.core import meta

# Create your models here.

from django.core import meta

class Character(meta.Model):

character_name = meta.CharField(maxlength=30)
character_class = meta.CharField(maxlength=25)
class META:

admin = meta.Admin()

def _repr_(self):

return "%s %s" (self.character_name, self.character_class)


class Skill(meta.Model):

character=meta.ForeignKey(Character)
Strength = meta.IntegerField()
Wisdom = meta.IntegerField()
class META:

admin = meta.Admin()

def _repr_(self):

return "%s %s" (self.character, self.Strenth, self.Wisdom)

Change History (1)

comment:1 by anonymous, 18 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top