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 or delete it
Source code is here https://github.com/shuge/mcms/blob/master/pages/models.py
I have read Django Manager docs a couple of times, but it doesn't help.
Thanks for reply.
--You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Rm6OnBOI22cJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment