- Change Summary:
-
Deleted trailing whitespace
- Commit:
-
c88de0f7e01fd8443b7f37edcba175e5aaed2c091036a7fface5f52cdf4228115075437e6910776e
- Diff:
-
Revision 2 (+37)
Checklist Extension template model
Review Request #6078 — Created July 8, 2014 and discarded
Created a new model to hold templates for the checklist extension. The model contains a name for the list, and a collection of template items. Items can be added, edited and removed from the model.
I followed the same schema as ReviewChecklist model.
Description | From | Last Updated |
---|---|---|
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 35 W291 trailing whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
How about just calling this ChecklistTemplate. Adding another List on the end seems superfluous. |
david | |
This isn't "making the review", it's the user who owns the template. |
david | |
Do we really need to have unique IDs for items? We're not keeping track of any checked state for them. |
david | |
Can you please call this items (or perhaps template_items). The name temp_items makes me think that they're temporary items. |
david | |
Add a trailing comma. |
david | |
I know it's in the code above, but I'm not sure why we have to convert to str for all … |
david | |
You don't need the parens around the conditional. |
david | |
You don't need the parens around the conditional. |
david |
-
Tool: PEP8 Style Checker Processed Files: checklist/checklist/models.py Tool: Pyflakes Processed Files: checklist/checklist/models.py
-
-
-
-
- Commit:
-
1036a7fface5f52cdf4228115075437e6910776edff8fe1711d825362b4febc8140a91f863467d67
- Diff:
-
Revision 3 (+38)
-
Tool: PEP8 Style Checker Processed Files: checklist/checklist/models.py Tool: Pyflakes Processed Files: checklist/checklist/models.py
- Change Summary:
-
Changed model class name, field name, no longer cast id to string for edit and remove
- Commit:
-
dff8fe1711d825362b4febc8140a91f863467d67f483b120456771a457928ddfae3786c038e00bd5
- Diff:
-
Revision 4 (+38)