##// END OF EJS Templates
Updated document
neko259 -
r1570:74e32ed9 default
parent child Browse files
Show More
@@ -1,30 +1,31 b''
1 # 0 Title #
1 # 0 Title #
2
2
3 "post" model reference
3 "post" model reference
4
4
5 # 1 Description #
5 # 1 Description #
6
6
7 "post" is a model that defines an imageboard message, or post.
7 "post" is a model that defines an imageboard message, or post.
8
8
9 # 2 Fields #
9 # 2 Fields #
10
10
11 # 2.1 Mandatory fields #
11 # 2.1 Mandatory fields #
12
12
13 * title -- text field.
13 * title -- text field.
14 * text -- text field.
14 * text -- text field.
15 * pub-time -- timestamp (TBD: Define format).
15 * pub-time -- timestamp (TBD: Define format).
16 * version -- when post content changes, version should be incremented.
16
17
17 # 2.2 Optional fields #
18 # 2.2 Optional fields #
18
19
19 * attachments -- defines attachments such as images.
20 * attachments -- defines attachments such as images.
20 * attachment -- contains and attachment or link to attachment to be downloaded
21 * attachment -- contains and attachment or link to attachment to be downloaded
21 manually. Required attributes are mimetype and name.
22 manually. Required attributes are mimetype and name.
22
23
23 This field is used for the opening post (thread):
24 This field is used for the opening post (thread):
24
25
25 * tags -- text tag name list.
26 * tags -- text tag name list.
26
27
27 This field is used for non-opening post:
28 This field is used for non-opening post:
28
29
29 * thread -- ID of a post model that this post is related to.
30 * thread -- ID of a post model that this post is related to.
30 * tripcode
31 * tripcode
General Comments 0
You need to be logged in to leave comments. Login now