Changes between Initial Version and Version 4 of Ticket #3638


Ignore:
Timestamp:
Mar 12, 2007, 6:11:09 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3638

    • Property Component Core frameworkUnit test system
    • Property Triage Stage UnreviewedAccepted
  • Ticket #3638 – Description

    initial v4  
    11Reproduce:
    22Use  this fixture:
     3
     4{{{
     5#!python
    36[{"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}}}
    48
    59with this model:
     10{{{
     11#!python
     12
    613class Category(models.Model):
    714    class Admin:
     
    3542            return self.name
    3643        return str(self.parent) + '/' + self.name
     44}}}
    3745
    3846now try to load it via syncdb
Back to Top