1 | Index: /home/pterk/projects/django/trunk/docs/tutorial02.txt
|
---|
2 | ===================================================================
|
---|
3 | --- /home/pterk/projects/django/trunk/docs/tutorial02.txt (revision 770)
|
---|
4 | +++ /home/pterk/projects/django/trunk/docs/tutorial02.txt (working copy)
|
---|
5 | @@ -169,7 +169,7 @@
|
---|
6 | admin = meta.Admin(
|
---|
7 | fields = (
|
---|
8 | (None, {'fields': ('pub_date', 'question')}),
|
---|
9 | - ),
|
---|
10 | + )
|
---|
11 | )
|
---|
12 |
|
---|
13 | That made the "Publication date" show up first instead of second:
|
---|
14 | @@ -187,7 +187,7 @@
|
---|
15 | fields = (
|
---|
16 | (None, {'fields': ('question',)}),
|
---|
17 | ('Date information', {'fields': ('pub_date',)}),
|
---|
18 | - ),
|
---|
19 | + )
|
---|
20 | )
|
---|
21 |
|
---|
22 | The first element of each tuple in ``fields`` is the title of the fieldset.
|
---|
23 | @@ -206,7 +206,7 @@
|
---|
24 | fields = (
|
---|
25 | (None, {'fields': ('question',)}),
|
---|
26 | ('Date information', {'fields': ('pub_date',), 'classes': 'collapse'}),
|
---|
27 | - ),
|
---|
28 | + )
|
---|
29 | )
|
---|
30 |
|
---|
31 | .. image:: http://media.djangoproject.com/img/doc/tutorial/admin09.png
|
---|