Changes between Initial Version and Version 4 of Ticket #3638
- Timestamp:
- Mar 12, 2007, 6:11:09 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3638
- Property Component Core framework → Unit test system
- Property Triage Stage Unreviewed → Accepted
-
Ticket #3638 – Description
initial v4 1 1 Reproduce: 2 2 Use this fixture: 3 4 {{{ 5 #!python 3 6 [{"pk": "1", "model": "main.category", "fields": {"link_name": "all", "name": "\/", "parent": null, "description": ""}}, {"pk": "2", "model": "main.category", "fields": {"link_name": "accessoires", "name": "Accessoires", "parent": 1, "description": ""}}, {"pk": "3", "model": "main.category", "fields": {"link_name": "art_and_design", "name": "Art & Design", "parent": 1, "description": ""}}] 7 }}} 4 8 5 9 with this model: 10 {{{ 11 #!python 12 6 13 class Category(models.Model): 7 14 class Admin: … … 35 42 return self.name 36 43 return str(self.parent) + '/' + self.name 44 }}} 37 45 38 46 now try to load it via syncdb