Opened 14 years ago

Closed 14 years ago

#14151 closed (invalid)

Tutorial part 2, adding short_description in model do not work

Reported by: mikikg Owned by: nobody
Component: Documentation Version: 1.2
Severity: 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

Hi,

I'm new to Django (8+ years PHP programmer) and just try tutorial (part 1 and 2). All work well until got an issue while adding "short_description" to the model.
The short_description I have provided 'Published today?' in models.py did not reflect on admin app (/admin/polls/poll/) as shown in tutorial (need to show 'Published today?', but still shown "Was published today")?! There is no any error shown.

Does I missed something or behaviors of short_description is somehow changed?
BTW: Reseting application and model did not help.

I'm using Django 1.2.1 with Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) in OS X.

Thank You in advance.

Change History (1)

comment:1 by Karen Tracey, 14 years ago

Resolution: invalid
Status: newclosed

The code shown in the tutorial is correct, it is most likely you have made some slight error in implementing it. Please follow-up with specifics (copy/paste of what you have in your models.py file) on the django-users mailing list, which is a better place than trac to track down such problems.

Note: See TracTickets for help on using tickets.
Back to Top