Ticket #7838: tutorial02.patch

File tutorial02.patch, 968 bytes (added by Ivan Giuliani, 16 years ago)

fixes typo in tutorial

  • docs/tutorial02.txt

     
    192192        class PollAdmin(admin.ModelAdmin):
    193193            fieldsets = [
    194194                (None,               {'fields': ['question']}),
    195                 ('Date information', {'fields': ['pub_date'], 'classes': ['pub_date']}),
     195                ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
    196196            ]
    197197
    198198.. image:: http://media.djangoproject.com/img/doc/tutorial-trunk/admin09.png
     
    242242    class PollAdmin(admin.ModelAdmin):
    243243        fieldsets = [
    244244            (None,               {'fields': ['question']}),
    245             ('Date information', {'fields': ['pub_date'], 'classes': ['pub_date']}),
     245            ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
    246246        ]
    247247        inlines = [ChoiceInline]
    248248
Back to Top