Interesting approach :)
Some pointers:
- The Page object has an automatic primary key. You should probably
change the path to be the primary key.
- .all() should not return a list of objects, instead it should
return a QuerySet which returns a list of objects when iterated.
You might be
I'm writing a simple CMS, it stores page file data on local file system
instead of SQL server.
I do overrides the model Page's Manager, but it not works as expected,
problems
- PageManager.all(it calls PageQuerySet?) doesn't works
- I can create Page object in Admin, but can't view it
2 matches
Mail list logo